Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/arm/asm.S Thu Oct 01 15:54:55 2009 +0000 +++ b/arm/asm.S Fri Oct 02 08:42:00 2009 +0000 @@ -36,7 +36,8 @@ .macro function name, export=0 .if \export - .global \name + .global EXTERN_ASM\name +EXTERN_ASM\name: .endif ELF .type \name, %function .func \name @@ -60,3 +61,7 @@ # define VFP @ # define NOVFP #endif + +#define GLUE(a, b) a ## b +#define JOIN(a, b) GLUE(a, b) +#define X(s) JOIN(EXTERN_ASM, s)