From e654b7c29e9a3ecc9dc02885b372d6c589f7b4ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com> Date: Fri, 2 Oct 2009 08:42:00 +0000 Subject: ARM: apply extern symbol prefix where needed Originally committed as revision 20147 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/arm/asm.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libavcodec/arm/asm.S') diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S index 06006730da..0fbd641dc3 100644 --- a/libavcodec/arm/asm.S +++ b/libavcodec/arm/asm.S @@ -36,7 +36,8 @@ ELF .eabi_attribute 25, \val .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 @@ ELF .type \name, %function # 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) -- cgit v1.2.3