mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
Conditionally compile ELF-specific ARM assembly bits that fail on Windows CE.
patch by Martin Storsjö, martin martin st Originally committed as revision 19514 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fbf7e805b0
commit
e21a892163
@ -21,18 +21,24 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
.macro require8, val=1
|
.macro require8, val=1
|
||||||
|
#ifdef __ELF__
|
||||||
.eabi_attribute 24, \val
|
.eabi_attribute 24, \val
|
||||||
|
#endif
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro preserve8, val=1
|
.macro preserve8, val=1
|
||||||
|
#ifdef __ELF__
|
||||||
.eabi_attribute 25, \val
|
.eabi_attribute 25, \val
|
||||||
|
#endif
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro function name, export=0
|
.macro function name, export=0
|
||||||
.if \export
|
.if \export
|
||||||
.global \name
|
.global \name
|
||||||
.endif
|
.endif
|
||||||
|
#ifdef __ELF__
|
||||||
.type \name, %function
|
.type \name, %function
|
||||||
|
#endif
|
||||||
.func \name
|
.func \name
|
||||||
\name:
|
\name:
|
||||||
.endm
|
.endm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user