Mercurial > mplayer.hg
changeset 30430:cdb6693dd949
Blackfin: use SRAM only when CONFIG_SRAM is set
author | mru |
---|---|
date | Sun, 31 Jan 2010 00:20:37 +0000 |
parents | c1a3f1bbba26 |
children | 5fef3206196f |
files | libswscale/bfin/internal_bfin.S libswscale/bfin/swscale_bfin.c libswscale/bfin/yuv2rgb_bfin.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/bfin/internal_bfin.S Sat Jan 30 23:24:23 2010 +0000 +++ b/libswscale/bfin/internal_bfin.S Sun Jan 31 00:20:37 2010 +0000 @@ -94,7 +94,7 @@ */ #define mL3 .text -#ifdef __FDPIC__ +#if defined(__FDPIC__) && CONFIG_SRAM #define mL1 .l1.text #else #define mL1 mL3
--- a/libswscale/bfin/swscale_bfin.c Sat Jan 30 23:24:23 2010 +0000 +++ b/libswscale/bfin/swscale_bfin.c Sun Jan 31 00:20:37 2010 +0000 @@ -31,7 +31,7 @@ #include "libswscale/swscale.h" #include "libswscale/swscale_internal.h" -#ifdef __FDPIC__ +#if defined (__FDPIC__) && CONFIG_SRAM #define L1CODE __attribute__ ((l1_text)) #else #define L1CODE
--- a/libswscale/bfin/yuv2rgb_bfin.c Sat Jan 30 23:24:23 2010 +0000 +++ b/libswscale/bfin/yuv2rgb_bfin.c Sun Jan 31 00:20:37 2010 +0000 @@ -32,7 +32,7 @@ #include "libswscale/swscale.h" #include "libswscale/swscale_internal.h" -#ifdef __FDPIC__ +#if defined(__FDPIC__) && CONFIG_SRAM #define L1CODE __attribute__ ((l1_text)) #else #define L1CODE