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

mru subversion
Tue Jul 28 00:55:55 CEST 2009


Author: mru
Date: Tue Jul 28 00:55:55 2009
New Revision: 19522

Log:
ARM: cleaner selection of ELF-spefic assembler directives

Modified:
   trunk/libavcodec/arm/asm.S

Modified: trunk/libavcodec/arm/asm.S
==============================================================================
--- trunk/libavcodec/arm/asm.S	Mon Jul 27 18:14:57 2009	(r19521)
+++ trunk/libavcodec/arm/asm.S	Tue Jul 28 00:55:55 2009	(r19522)
@@ -20,25 +20,25 @@
 
 #include "config.h"
 
-        .macro require8, val=1
 #ifdef __ELF__
-        .eabi_attribute 24, \val
+#   define ELF
+#else
+#   define ELF @
 #endif
+
+        .macro require8, val=1
+ELF     .eabi_attribute 24, \val
         .endm
 
         .macro preserve8, val=1
-#ifdef __ELF__
-        .eabi_attribute 25, \val
-#endif
+ELF     .eabi_attribute 25, \val
         .endm
 
         .macro function name, export=0
 .if \export
         .global \name
 .endif
-#ifdef __ELF__
-        .type   \name, %function
-#endif
+ELF     .type   \name, %function
         .func   \name
 \name:
         .endm



More information about the ffmpeg-cvslog mailing list