FLAT objects cannot have multiple sections, so using the L1 attributes breaks
[ffmpeg.git] / libswscale / yuv2rgb_bfin.c
index e35d49efbdcf5bb5daf5224a79c4af056d0f7b0e..d2770793bcd7485458b7bf4c10e9e369950a30a1 100644 (file)
 #include "swscale.h"
 #include "swscale_internal.h"
 
-
+#ifdef __FDPIC__
 #define L1CODE __attribute__ ((l1_text))
+#else
+#define L1CODE
+#endif
 
 extern void ff_bfin_yuv2rgb555_line (uint8_t *Y, uint8_t *U, uint8_t *V, uint8_t *out,
                                      int w, uint32_t *coeffs) L1CODE;