aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-06-24 12:59:22 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-06-24 13:00:32 +0100
commite373f6595230087a8ddea449bfb14b47150b4059 (patch)
tree19bb7a7a483a60881875370bb78532f94e0bf7dd
parent8bf2238fc0571d673b593c1ec2f72f4179a8ec79 (diff)
downloadarm-optimized-routines-e373f6595230087a8ddea449bfb14b47150b4059.tar.gz
string: Fix ARM_FNSTART on non-arm targets
Fix build failure introduced by commit 40b662ce7b65d5eaefa40fd8046d6f3c6b3238c1 string: add .fnstart and .fnend directives to ENTRY/END macros
-rw-r--r--string/asmdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/string/asmdefs.h b/string/asmdefs.h
index e84626f..d122b26 100644
--- a/string/asmdefs.h
+++ b/string/asmdefs.h
@@ -11,6 +11,9 @@
#if defined (__arm__)
#define ARM_FNSTART .fnstart
#define ARM_FNEND .fnend
+#else
+#define ARM_FNSTART
+#define ARM_FNEND
#endif
#if defined(__aarch64__)