[FFmpeg-cvslog] aarch64: use MACH-O const data asm directive in const macro

Janne Grunau git at videolan.org
Mon Aug 4 04:12:46 CEST 2014


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Wed Jul 23 10:06:15 2014 +0200| [a238b83b13640e3192d7d4aaad2242f13a9a84a1] | committer: Janne Grunau

aarch64: use MACH-O const data asm directive in const macro

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a238b83b13640e3192d7d4aaad2242f13a9a84a1
---

 libavutil/aarch64/asm.S |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S
index 850f16b..b766e67 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



More information about the ffmpeg-cvslog mailing list