summaryrefslogtreecommitdiffstats
path: root/config/external/icu/data/icu_data.S
diff options
context:
space:
mode:
Diffstat (limited to 'config/external/icu/data/icu_data.S')
-rw-r--r--config/external/icu/data/icu_data.S29
1 files changed, 29 insertions, 0 deletions
diff --git a/config/external/icu/data/icu_data.S b/config/external/icu/data/icu_data.S
new file mode 100644
index 0000000000..6ca4ce5973
--- /dev/null
+++ b/config/external/icu/data/icu_data.S
@@ -0,0 +1,29 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#if defined(_WIN32) && defined(__i386__)
+// Mark the object as SAFESEH-enabled.
+.def @feat.00;
+.scl 3;
+.type 0;
+.endef
+.global @feat.00
+.set @feat.00, 1
+#endif
+
+.global ICU_DATA_SYMBOL
+#if defined(__APPLE__)
+.data
+.const
+#elif defined(__wasi__)
+.section .rodata,"",@
+#else
+.section .rodata
+#endif
+.balign 16
+ICU_DATA_SYMBOL:
+.incbin ICU_DATA_FILE
+#ifdef __wasi__
+.size ICU_DATA_SYMBOL, . - ICU_DATA_SYMBOL
+#endif