aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-02-20 14:42:03 +0000
committerNick Clifton <nickc@redhat.com>2002-02-20 14:42:03 +0000
commit2dd68dc2ffb689348a7cad668c7710e82c2ff406 (patch)
tree5304668dae0e6e4b7227e86aa3245cd826fce50c
parent55500bf14fdf743546aefb5208b02d55e43ae483 (diff)
downloadnewlib-2dd68dc2ffb689348a7cad668c7710e82c2ff406.zip
newlib-2dd68dc2ffb689348a7cad668c7710e82c2ff406.tar.gz
newlib-2dd68dc2ffb689348a7cad668c7710e82c2ff406.tar.bz2
Add missing clobbered register.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/machine/xscale/strchr.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3d34734..58a22e1 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
+ clobbered registers.
+
2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.host (newlib_cflags): When host is in m68* add
diff --git a/newlib/libc/machine/xscale/strchr.c b/newlib/libc/machine/xscale/strchr.c
index 6ea5032..027077c 100644
--- a/newlib/libc/machine/xscale/strchr.c
+++ b/newlib/libc/machine/xscale/strchr.c
@@ -60,7 +60,7 @@ strchr (const char *s, int c)
1:"
: "=&r" (s)
: "r" (c2), "0" (s)
- : "r2", "r3", "r5", "r6", "cc");
+ : "r1", "r2", "r3", "r5", "r6", "cc");
#endif
while (*s && *s != c)