Mercurial > libavcodec.hg
diff bfin/idct_bfin.S @ 11063:8327c5b4df9b libavcodec
Blackfin: use SRAM only when CONFIG_SRAM is set
author | mru |
---|---|
date | Sun, 31 Jan 2010 00:20:30 +0000 |
parents | 78aa57eba353 |
children |
line wrap: on
line diff
--- a/bfin/idct_bfin.S Sat Jan 30 21:55:18 2010 +0000 +++ b/bfin/idct_bfin.S Sun Jan 31 00:20:30 2010 +0000 @@ -55,9 +55,10 @@ */ +#include "config.h" #include "config_bfin.h" -#ifdef __FDPIC__ +#if defined(__FDPIC__) && CONFIG_SRAM .section .l1.data.B,"aw",@progbits #else .data @@ -76,7 +77,7 @@ .short 0x18F9; //cos(7pi/16) .short 0x7D8A; //cos(pi/16) -#ifdef __FDPIC__ +#if defined(__FDPIC__) && CONFIG_SRAM .section .l1.data.A,"aw",@progbits #endif