diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-02-16 15:17:31 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-02-16 15:17:31 +0000 |
commit | e44d7c659ba56d7efd6de10d5d99a1c44fd997fa (patch) | |
tree | b1cf54484d3258d0c5a06fe4da641b4dd1ace3e6 /libavcodec/bfin/dsputil_bfin.c | |
parent | 2d83fe90e32b39a038ce5d779a3f2a1d45059784 (diff) | |
download | ffmpeg-e44d7c659ba56d7efd6de10d5d99a1c44fd997fa.tar.gz |
FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com
Originally committed as revision 12125 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bfin/dsputil_bfin.c')
-rw-r--r-- | libavcodec/bfin/dsputil_bfin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.c b/libavcodec/bfin/dsputil_bfin.c index 93b324cfd2..a72459948c 100644 --- a/libavcodec/bfin/dsputil_bfin.c +++ b/libavcodec/bfin/dsputil_bfin.c @@ -173,7 +173,7 @@ static int bfin_vsad (void *c, uint8_t *blk1, uint8_t *blk2, int stride, int h) + ff_bfin_z_sad16x16 (blk2,blk2+stride,stride<<1,stride<<1,h); } -static uint8_t vtmp_blk[256] __attribute__((l1_data_B)); +static uint8_t vtmp_blk[256] attribute_l1_data_b; static int bfin_pix_abs16_x2 (void *c, uint8_t *blk1, uint8_t *blk2, int line_size, int h) { |