aarch64: use MACH-O const data asm directive in const macro
authorJanne Grunau <janne-libav@jannau.net>
Wed, 23 Jul 2014 08:06:15 +0000 (10:06 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Sun, 3 Aug 2014 22:17:21 +0000 (00:17 +0200)
libavutil/aarch64/asm.S

index 850f16b..b766e67 100644 (file)
@@ -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