summaryrefslogtreecommitdiff
path: root/libavcodec/arm
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2009-07-27 12:53:44 +0000
committerDiego Biurrun <diego@biurrun.de>2009-07-27 12:53:44 +0000
commite21a892163a49500a04ffa54923f3761453791ad (patch)
tree3930cfb99b19d510761a0f95cfd4a43239e047af /libavcodec/arm
parentfbf7e805b0331c8329ad46ba7d40962d8b3d1a0c (diff)
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
Diffstat (limited to 'libavcodec/arm')
-rw-r--r--libavcodec/arm/asm.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S
index 087b279651..e2a86c8f3e 100644
--- a/libavcodec/arm/asm.S
+++ b/libavcodec/arm/asm.S
@@ -21,18 +21,24 @@
#include "config.h"
.macro require8, val=1
+#ifdef __ELF__
.eabi_attribute 24, \val
+#endif
.endm
.macro preserve8, val=1
+#ifdef __ELF__
.eabi_attribute 25, \val
+#endif
.endm
.macro function name, export=0
.if \export
.global \name
.endif
+#ifdef __ELF__
.type \name, %function
+#endif
.func \name
\name:
.endm