diff options
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/machine/aarch64/strchrnul.S | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index cbff2ec6a..2a209a7de 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2014-12-10 Richard Earnshaw <rearnsha@arm.com> + + * libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered + register. + 2014-12-08 Richard Earnshaw <rearnsha@arm.com> * libc/machine/aarch64/strrchr.S: New file. diff --git a/newlib/libc/machine/aarch64/strchrnul.S b/newlib/libc/machine/aarch64/strchrnul.S index 5e67f1da9..a0ac13b7f 100644 --- a/newlib/libc/machine/aarch64/strchrnul.S +++ b/newlib/libc/machine/aarch64/strchrnul.S @@ -55,7 +55,7 @@ #define vhas_nul2 v4 #define vhas_chr1 v5 #define vhas_chr2 v6 -#define vrepmask v15 +#define vrepmask v7 #define vend1 v16 /* Core algorithm. |