From a238b83b13640e3192d7d4aaad2242f13a9a84a1 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Wed, 23 Jul 2014 10:06:15 +0200 Subject: [PATCH] aarch64: use MACH-O const data asm directive in const macro --- libavutil/aarch64/asm.S | 4 ++++ 1 file changed, 4 insertions(+) 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