ref: 1ef86e1bb62f39e9ed98b44a3fef512662b588a8
parent: 337d8f9457a1e311643c635dbede33e5a7873a16
author: Martin Storsjö <martin@martin.st>
date: Thu Jan 10 18:00:35 EST 2019
arm: Create proper .rdata sections for COFF On COFF, the default read only data section is `.rdata`, not `.rodata`.
--- a/src/arm/asm.S
+++ b/src/arm/asm.S
@@ -114,7 +114,9 @@
#endif
.purgem endconst
.endm
-#if !defined(__MACH__)
+#if defined(_WIN32)
+ .section .rdata
+#elif !defined(__MACH__)
.section .rodata
#else
.const_data