Skip to content
Snippets Groups Projects
Commit a238b83b authored by Janne Grunau's avatar Janne Grunau
Browse files

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

parent ac6b95db
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment