diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2014-12-10 09:54:09 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-12-10 09:54:09 +0000 |
commit | aa76a5c7010e98c737d79f37aa6ae668f60f7a00 (patch) | |
tree | 4f196c4595cbb5e371099e3b9b52fcbec9068bf5 | |
parent | a4ecc9eb9b15bc51a1dc4726c06d35eaea74e162 (diff) | |
download | glibc-aa76a5c7010e98c737d79f37aa6ae668f60f7a00.tar.gz glibc-aa76a5c7010e98c737d79f37aa6ae668f60f7a00.tar.xz glibc-aa76a5c7010e98c737d79f37aa6ae668f60f7a00.zip |
[AArch64] Fix strchrnul clobbering v15
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/aarch64/strchrnul.S | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f8652231de..03bba82de7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-10 Richard Earnshaw <rearnsha@arm.com> + + * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered + register. + 2014-12-10 Joseph Myers <joseph@codesourcery.com> * configure.ac (--disable-werror): New configure option. diff --git a/sysdeps/aarch64/strchrnul.S b/sysdeps/aarch64/strchrnul.S index b98c2e951b..57835d88d6 100644 --- a/sysdeps/aarch64/strchrnul.S +++ b/sysdeps/aarch64/strchrnul.S @@ -46,7 +46,7 @@ #define vhas_nul2 v4 #define vhas_chr1 v5 #define vhas_chr2 v6 -#define vrepmask v15 +#define vrepmask v7 #define vend1 v16 /* Core algorithm. |