Mercurial > libavcodec.hg
comparison arm/asm.S @ 11456:c16e47ff9a49 libavcodec
Only use .size in ARM assembly when targeting ELF
This fixes compilation on mingw32ce
author | mstorsjo |
---|---|
date | Wed, 10 Mar 2010 21:39:58 +0000 |
parents | 361a5fcb4393 |
children | e21223172ca8 |
comparison
equal
deleted
inserted
replaced
11455:70472d1d2524 | 11456:c16e47ff9a49 |
---|---|
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 | 38 .macro endfunc |
39 .size \name, . - \name | 39 ELF .size \name, . - \name |
40 .endfunc | 40 .endfunc |
41 .purgem endfunc | 41 .purgem endfunc |
42 .endm | 42 .endm |
43 .if \export | 43 .if \export |
44 .global EXTERN_ASM\name | 44 .global EXTERN_ASM\name |