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