comparison arm/asm.S @ 11443:361a5fcb4393 libavcodec

ARM: set size of asm functions in object files
author mru
date Tue, 09 Mar 2010 16:17:56 +0000
parents c44205b868dc
children c16e47ff9a49
comparison
equal deleted inserted replaced
11442:fe32d9ba1c86 11443:361a5fcb4393
33 .macro preserve8, val=1 33 .macro preserve8, val=1
34 ELF .eabi_attribute 25, \val 34 ELF .eabi_attribute 25, \val
35 .endm 35 .endm
36 36
37 .macro function name, export=0 37 .macro function name, export=0
38 .macro endfunc
39 .size \name, . - \name
40 .endfunc
41 .purgem endfunc
42 .endm
38 .if \export 43 .if \export
39 .global EXTERN_ASM\name 44 .global EXTERN_ASM\name
40 EXTERN_ASM\name: 45 EXTERN_ASM\name:
41 .endif 46 .endif
42 ELF .type \name, %function 47 ELF .type \name, %function