aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-11-17 11:58:18 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-11-17 12:05:35 +0000
commit044e81634cea7a77b3d0e26ea7408b0ad7d06036 (patch)
tree7a12ec15cfd22a11cb94f5c9a68f728663f030e9
parent67a49eeffa7bd4d90a4edf54cb9d4d784ab170a7 (diff)
downloadarm-optimized-routines-044e81634cea7a77b3d0e26ea7408b0ad7d06036.tar.gz
string: arm: Include asmdefs.h even into empty asm files
Currently this is not expected to change behaviour, but if global directives are added in asmdefs.h (like .thumb) those should be in all asm files in case the link ABI is affected.
-rw-r--r--string/arm/check-arch.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/string/arm/check-arch.S b/string/arm/check-arch.S
index f69e112..b893f32 100644
--- a/string/arm/check-arch.S
+++ b/string/arm/check-arch.S
@@ -8,3 +8,6 @@
#if !__arm__
# error ARCH setting does not match the compiler.
#endif
+
+/* For attributes that may affect ABI. */
+#include "asmdefs.h"