diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-12-17 10:03:05 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-12-31 16:50:58 +0000 |
commit | 45b1e17e9150dbd9ac2d578579063fbfa8e1b327 (patch) | |
tree | 19cb981927b471988432f5cc98a10911d528e7c3 /sysdeps/aarch64/memrchr.S | |
parent | f9de8bfe1a731c309b91d175b4f6f4aeb786effa (diff) | |
download | glibc-45b1e17e9150dbd9ac2d578579063fbfa8e1b327.zip glibc-45b1e17e9150dbd9ac2d578579063fbfa8e1b327.tar.gz glibc-45b1e17e9150dbd9ac2d578579063fbfa8e1b327.tar.bz2 |
aarch64: use PTR_ARG and SIZE_ARG instead of DELOUSE
DELOUSE was added to asm code to make them compatible with non-LP64
ABIs, but it is an unfortunate name and the code was not compatible
with ABIs where pointer and size_t are different. Glibc currently
only supports the LP64 ABI so these macros are not really needed or
tested, but for now the name is changed to be more meaningful instead
of removing them completely.
Some DELOUSE macros were dropped: clone, strlen and strnlen used it
unnecessarily.
The out of tree ILP32 patches are currently not maintained and will
likely need a rework to rebase them on top of the time64 changes.
Diffstat (limited to 'sysdeps/aarch64/memrchr.S')
-rw-r--r-- | sysdeps/aarch64/memrchr.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/aarch64/memrchr.S b/sysdeps/aarch64/memrchr.S index c25f430..bdd899f 100644 --- a/sysdeps/aarch64/memrchr.S +++ b/sysdeps/aarch64/memrchr.S @@ -59,8 +59,8 @@ string, counting trailing zeros identifies exactly which byte matched. */ ENTRY (__memrchr) - DELOUSE (0) - DELOUSE (2) + PTR_ARG (0) + SIZE_ARG (2) add end, srcin, cntin sub endm1, end, 1 bic src, endm1, 15 |