aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/aarch64
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-07-23 10:06:15 +0200
committerJanne Grunau <janne-libav@jannau.net>2014-08-04 00:17:21 +0200
commita238b83b13640e3192d7d4aaad2242f13a9a84a1 (patch)
treec5d8c6844c4f63cec56607e55561feb24bdc1805 /libavutil/aarch64
parentac6b95dbc0b53b3ea461bd5e5e7f7f31d2983733 (diff)
downloadffmpeg-a238b83b13640e3192d7d4aaad2242f13a9a84a1.tar.gz
aarch64: use MACH-O const data asm directive in const macro
Diffstat (limited to 'libavutil/aarch64')
-rw-r--r--libavutil/aarch64/asm.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S
index 850f16b415..b766e67d43 100644
--- a/libavutil/aarch64/asm.S
+++ b/libavutil/aarch64/asm.S
@@ -57,7 +57,11 @@ FUNC .func \name
ELF .size \name, . - \name
.purgem endconst
.endm
+#ifndef __MACH__
.section .rodata
+#else
+ .const_data
+#endif
.align \align
\name:
.endm