Mercurial > libavcodec.hg
changeset 9991:c50957bfd553 libavcodec
ARM: cleaner selection of ELF-spefic assembler directives
author | mru |
---|---|
date | Mon, 27 Jul 2009 22:55:55 +0000 |
parents | e909e1f7b3f1 |
children | 7b2e5c91104e |
files | arm/asm.S |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/arm/asm.S Mon Jul 27 16:10:38 2009 +0000 +++ b/arm/asm.S Mon Jul 27 22:55:55 2009 +0000 @@ -20,25 +20,25 @@ #include "config.h" +#ifdef __ELF__ +# define ELF +#else +# define ELF @ +#endif + .macro require8, val=1 -#ifdef __ELF__ - .eabi_attribute 24, \val -#endif +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