summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/machine/xscale/strchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/machine/xscale/strchr.c b/newlib/libc/machine/xscale/strchr.c
index 6ea5032b0..027077cfc 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)