aarch64: use MACH-O const data asm directive in const macro
This commit is contained in:
parent
ac6b95dbc0
commit
a238b83b13
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user