summaryrefslogtreecommitdiffstats
path: root/config/external/icu4x/icu4x_data.S
diff options
context:
space:
mode:
Diffstat (limited to 'config/external/icu4x/icu4x_data.S')
-rw-r--r--config/external/icu4x/icu4x_data.S29
1 files changed, 29 insertions, 0 deletions
diff --git a/config/external/icu4x/icu4x_data.S b/config/external/icu4x/icu4x_data.S
new file mode 100644
index 0000000000..95a647f9ef
--- /dev/null
+++ b/config/external/icu4x/icu4x_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 ICU4X_DATA_SYMBOL
+#if defined(__APPLE__)
+.data
+.const
+#elif defined(__wasi__)
+.section .rodata,"",@
+#else
+.section .rodata
+#endif
+.balign 16
+ICU4X_DATA_SYMBOL:
+.incbin ICU4X_DATA_FILE
+#ifdef __wasi__
+.size ICU4X_DATA_SYMBOL, . - ICU4X_DATA_SYMBOL
+#endif