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