aboutsummaryrefslogtreecommitdiff
path: root/string/aarch64/strcpy.S
diff options
context:
space:
mode:
authorKinsey Moore <wkmoore@gmail.com>2020-12-11 14:24:26 -0600
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-12-17 13:15:41 +0000
commitafd6244a1f8d92299967d3d50e6f6a1466da413f (patch)
treedcdff0861f1ec286a702901de0914d748c4c2f56 /string/aarch64/strcpy.S
parent58af293330a412b593375b84c57e5f8968425db7 (diff)
downloadarm-optimized-routines-afd6244a1f8d92299967d3d50e6f6a1466da413f.tar.gz
string: Add support for ILP32 ABI
This adds sanitization of padding bits for pointers and size_t types as required by ARM aapcs64 for the AArch64 ILP32 ABI.
Diffstat (limited to 'string/aarch64/strcpy.S')
-rw-r--r--string/aarch64/strcpy.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/string/aarch64/strcpy.S b/string/aarch64/strcpy.S
index a6090c8..2668b67 100644
--- a/string/aarch64/strcpy.S
+++ b/string/aarch64/strcpy.S
@@ -80,6 +80,8 @@
#define MIN_PAGE_SIZE (1 << MIN_PAGE_P2)
ENTRY (STRCPY)
+ PTR_ARG (0)
+ PTR_ARG (1)
/* For moderately short strings, the fastest way to do the copy is to
calculate the length of the string in the same way as strlen, then
essentially do a memcpy of the result. This avoids the need for