Commit 33bd2b99 authored by James Almer's avatar James Almer

Merge commit '3a7b4ae6'

* commit '3a7b4ae6':
  arm: Produce .const_data instead of .section .rodata for Mach-O
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents a7109b82 3a7b4ae6
......@@ -111,11 +111,17 @@ FUNC .func \name
ELF .size \name, . - \name
.purgem endconst
.endm
.if HAVE_SECTION_DATA_REL_RO && \relocate
#if HAVE_SECTION_DATA_REL_RO
.if \relocate
.section .data.rel.ro
.else
.section .rodata
.endif
#elif !defined(__MACH__)
.section .rodata
#else
.const_data
#endif
.align \align
\name:
.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