diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S index 17139b4aae..9eea433acb 100644 --- a/libavcodec/arm/asm.S +++ b/libavcodec/arm/asm.S @@ -26,37 +26,37 @@ # define ELF @ #endif - .macro require8, val=1 +.macro require8 val=1 ELF .eabi_attribute 24, \val - .endm +.endm - .macro preserve8, val=1 +.macro preserve8 val=1 ELF .eabi_attribute 25, \val - .endm +.endm - .macro function name, export=0 - .macro endfunc +.macro function name, export=0 + .macro endfunc ELF .size \name, . - \name .endfunc .purgem endfunc - .endm -.if \export + .endm + .if \export .global EXTERN_ASM\name EXTERN_ASM\name: -.endif + .endif ELF .type \name, %function .func \name \name: - .endm +.endm - .macro movrel rd, val +.macro movrel rd, val #if HAVE_ARMV6T2 && !CONFIG_PIC movw \rd, #:lower16:\val movt \rd, #:upper16:\val #else ldr \rd, =\val #endif - .endm +.endm #if HAVE_VFP_ARGS .eabi_attribute 28, 1