diff options
author | Måns Rullgård <mans@mansr.com> | 2009-07-27 22:55:55 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-07-27 22:55:55 +0000 |
commit | 341f394f0dc3e0469022000a363ca49bea8807e6 (patch) | |
tree | 2b83776a3444062d56c95fdd69b3db3aefce1647 /libavcodec/arm | |
parent | 1aa71e258dff1f63177ac799c63cffc84e56eeff (diff) | |
download | ffmpeg-341f394f0dc3e0469022000a363ca49bea8807e6.tar.gz |
ARM: cleaner selection of ELF-spefic assembler directives
Originally committed as revision 19522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm')
-rw-r--r-- | libavcodec/arm/asm.S | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S index e2a86c8f3e..02f90152d7 100644 --- a/libavcodec/arm/asm.S +++ b/libavcodec/arm/asm.S @@ -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 |