Commit a238b83b authored by Janne Grunau's avatar Janne Grunau

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

parent ac6b95db
...@@ -57,7 +57,11 @@ FUNC .func \name ...@@ -57,7 +57,11 @@ FUNC .func \name
ELF .size \name, . - \name ELF .size \name, . - \name
.purgem endconst .purgem endconst
.endm .endm
#ifndef __MACH__
.section .rodata .section .rodata
#else
.const_data
#endif
.align \align .align \align
\name: \name:
.endm .endm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment