aboutsummaryrefslogtreecommitdiff
path: root/string/arm/check-arch.S
diff options
context:
space:
mode:
Diffstat (limited to 'string/arm/check-arch.S')
-rw-r--r--string/arm/check-arch.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/string/arm/check-arch.S b/string/arm/check-arch.S
new file mode 100644
index 0000000..1cff934
--- /dev/null
+++ b/string/arm/check-arch.S
@@ -0,0 +1,10 @@
+/*
+ * check ARCH setting.
+ *
+ * Copyright (c) 2020, Arm Limited.
+ * SPDX-License-Identifier: MIT
+ */
+
+#if !__arm__
+# error ARCH setting does not match the compiler.
+#endif