mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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 26010 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
committed by
Diego Biurrun
parent
e44d7c659b
commit
d2a4ecafbb
@@ -94,8 +94,12 @@
|
||||
|
||||
*/
|
||||
|
||||
#define mL1 .l1.text
|
||||
#define mL3 .text
|
||||
#ifdef __FDPIC__
|
||||
#define mL1 .l1.text
|
||||
#else
|
||||
#define mL1 mL3
|
||||
#endif
|
||||
#define MEM mL1
|
||||
|
||||
#define DEFUN(fname,where,interface) \
|
||||
|
||||
Reference in New Issue
Block a user