Mercurial > libavcodec.hg
comparison arm/asm.S @ 10346:f12b7ea2df2a libavcodec
ARM: apply extern symbol prefix where needed
author | mru |
---|---|
date | Fri, 02 Oct 2009 08:42:00 +0000 |
parents | 78c2a3932c87 |
children | c44205b868dc |
comparison
equal
deleted
inserted
replaced
10345:294c444866f7 | 10346:f12b7ea2df2a |
---|---|
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 .if \export | 38 .if \export |
39 .global \name | 39 .global EXTERN_ASM\name |
40 EXTERN_ASM\name: | |
40 .endif | 41 .endif |
41 ELF .type \name, %function | 42 ELF .type \name, %function |
42 .func \name | 43 .func \name |
43 \name: | 44 \name: |
44 .endm | 45 .endm |
58 # define NOVFP @ | 59 # define NOVFP @ |
59 #else | 60 #else |
60 # define VFP @ | 61 # define VFP @ |
61 # define NOVFP | 62 # define NOVFP |
62 #endif | 63 #endif |
64 | |
65 #define GLUE(a, b) a ## b | |
66 #define JOIN(a, b) GLUE(a, b) | |
67 #define X(s) JOIN(EXTERN_ASM, s) |