ARMv8 NEON: Support Windows builds w/AArch64 MinGW
Based on:
https://github.com/mstorsjo/libjpeg-turbo/commit/c5ef6659285a7d5bc74c679aa87ad187186cf7e1
Closes #438
diff --git a/ChangeLog.md b/ChangeLog.md
index 0117f1f..89c5cfe 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -20,6 +20,9 @@
- Fixed an issue whereby `jpeg_skip_scanlines()` always returned 0 when
skipping past the end of an image.
+3. The ARM 64-bit (ARMv8) NEON SIMD extensions can now be built using MinGW
+toolchains targetting ARM64 (AArch64) Windows binaries.
+
2.0.5
=====
diff --git a/simd/arm64/jsimd_neon.S b/simd/arm64/jsimd_neon.S
index a3aa406..70cef2c 100644
--- a/simd/arm64/jsimd_neon.S
+++ b/simd/arm64/jsimd_neon.S
@@ -33,6 +33,8 @@
#if defined(__APPLE__)
.section __DATA, __const
+#elif defined(_WIN32)
+.section .rdata
#else
.section .rodata, "a", %progbits
#endif