[FFmpeg-cvslog] r19514 - trunk/libavcodec/arm/asm.S

diego subversion
Mon Jul 27 14:53:44 CEST 2009


Author: diego
Date: Mon Jul 27 14:53:44 2009
New Revision: 19514

Log:
Conditionally compile ELF-specific ARM assembly bits that fail on Windows CE.
patch by Martin Storsj?, martin martin st

Modified:
   trunk/libavcodec/arm/asm.S

Modified: trunk/libavcodec/arm/asm.S
==============================================================================
--- trunk/libavcodec/arm/asm.S	Mon Jul 27 14:36:22 2009	(r19513)
+++ trunk/libavcodec/arm/asm.S	Mon Jul 27 14:53:44 2009	(r19514)
@@ -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



More information about the ffmpeg-cvslog mailing list