summaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/asm.S
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-10-02 08:42:00 +0000
committerMåns Rullgård <mans@mansr.com>2009-10-02 08:42:00 +0000
commite654b7c29e9a3ecc9dc02885b372d6c589f7b4ef (patch)
tree9fc4bf037ee53c687308a9983bb76652d2152207 /libavcodec/arm/asm.S
parentc7f7978ae39f521695f7e9dd1c92247dcdf25c2e (diff)
downloadffmpeg-streaming-e654b7c29e9a3ecc9dc02885b372d6c589f7b4ef.zip
ffmpeg-streaming-e654b7c29e9a3ecc9dc02885b372d6c589f7b4ef.tar.gz
ARM: apply extern symbol prefix where needed
Originally committed as revision 20147 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/asm.S')
-rw-r--r--libavcodec/arm/asm.S7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S
index 0600673..0fbd641 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)
OpenPOWER on IntegriCloud