aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/aarch64/asm.S
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-02-07 16:05:50 +0100
committerJanne Grunau <janne-libav@jannau.net>2014-02-20 15:24:35 +0100
commit9c029f67ca82147ddfa83a1546ee1e109e11fbd4 (patch)
treecf85109b9e1ed3e67efced3778b8e37f0b57536a /libavutil/aarch64/asm.S
parent996697e266c8adc0ad9b7fc7568406c7529c97cf (diff)
downloadffmpeg-9c029f67ca82147ddfa83a1546ee1e109e11fbd4.tar.gz
aarch64: use EXTERN_ASM consistently for exported symbols
Based on e3fec3f095ab5ea08ee662942d98526aaf5e3635 for arm.
Diffstat (limited to 'libavutil/aarch64/asm.S')
-rw-r--r--libavutil/aarch64/asm.S9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S
index 94e5a84583..6c93d11920 100644
--- a/libavutil/aarch64/asm.S
+++ b/libavutil/aarch64/asm.S
@@ -36,11 +36,14 @@ ELF .size \name, . - \name
.align \align
.if \export
.global EXTERN_ASM\name
+ELF .type EXTERN_ASM\name, %function
+ .func EXTERN_ASM\name
EXTERN_ASM\name:
- .endif
+ .else
ELF .type \name, %function
.func \name
\name:
+ .endif
.endm
.macro const name, align=2
@@ -61,3 +64,7 @@ ELF .size \name, . - \name
ldr \rd, =\val
#endif
.endm
+
+#define GLUE(a, b) a ## b
+#define JOIN(a, b) GLUE(a, b)
+#define X(s) JOIN(EXTERN_ASM, s)