aboutsummaryrefslogtreecommitdiff
path: root/string/aarch64/check-arch.S
diff options
context:
space:
mode:
authorTamas Zsoldos <tamas.zsoldos@arm.com>2020-04-28 17:13:10 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-04-30 12:56:32 +0100
commit232e3c08c9eb9aba822510bae57f920351b1eb40 (patch)
tree0e8f16b233e9e477c3bf53ae711df81e03cd9c67 /string/aarch64/check-arch.S
parentbfaeb591c6c20cf83d0f64e0c63bfc253713e4e0 (diff)
downloadarm-optimized-routines-232e3c08c9eb9aba822510bae57f920351b1eb40.tar.gz
string: ARMv8.5 BTI: Add BTI support to assembly files.
This change addds the landing pads to the start of functions implemented in assembly, by adding it to the ENTRY macro. To avoid skipping it when using an alias, every ENTRY_ALIAS use must precede the corresponding ENTRY. Furthermore, the GNU property note is added to the assembly files. Since none of the functions save LR to stack, both BTI and PAC support are indicated. Paddings before __strncmp_aarch64 and __strnlen_aarch64 were adjusted.
Diffstat (limited to 'string/aarch64/check-arch.S')
-rw-r--r--string/aarch64/check-arch.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/string/aarch64/check-arch.S b/string/aarch64/check-arch.S
index d6775a4..4537aab 100644
--- a/string/aarch64/check-arch.S
+++ b/string/aarch64/check-arch.S
@@ -8,3 +8,6 @@
#if !__aarch64__
# error ARCH setting does not match the compiler.
#endif
+
+#include "../asmdefs.h"
+END_FILE