aboutsummaryrefslogtreecommitdiff
path: root/string/aarch64/check-arch.S
diff options
context:
space:
mode:
Diffstat (limited to 'string/aarch64/check-arch.S')
-rw-r--r--string/aarch64/check-arch.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/string/aarch64/check-arch.S b/string/aarch64/check-arch.S
new file mode 100644
index 000000000000..5a54242d7de6
--- /dev/null
+++ b/string/aarch64/check-arch.S
@@ -0,0 +1,13 @@
+/*
+ * check ARCH setting.
+ *
+ * Copyright (c) 2020, Arm Limited.
+ * SPDX-License-Identifier: MIT
+ */
+
+#if !__aarch64__
+# error ARCH setting does not match the compiler.
+#endif
+
+/* Include for GNU property notes. */
+#include "../asmdefs.h"