Commit 1ef86e1b authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf

arm: Create proper .rdata sections for COFF

On COFF, the default read only data section is `.rdata`, not `.rodata`.
parent 337d8f94
...@@ -114,7 +114,9 @@ EXTERN\name: ...@@ -114,7 +114,9 @@ EXTERN\name:
#endif #endif
.purgem endconst .purgem endconst
.endm .endm
#if !defined(__MACH__) #if defined(_WIN32)
.section .rdata
#elif !defined(__MACH__)
.section .rodata .section .rodata
#else #else
.const_data .const_data
......
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