OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a612449
)
Add missing clobbered register.
author
nickc
<nickc>
Wed, 20 Feb 2002 14:42:02 +0000
(14:42 +0000)
committer
nickc
<nickc>
Wed, 20 Feb 2002 14:42:02 +0000
(14:42 +0000)
newlib/ChangeLog
patch
|
blob
|
history
newlib/libc/machine/xscale/strchr.c
patch
|
blob
|
history
diff --git
a/newlib/ChangeLog
b/newlib/ChangeLog
index
3d34734
..
58a22e1
100644
(file)
--- 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
(file)
--- 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");
+ : "r
1", "r
2", "r3", "r5", "r6", "cc");
#endif
while (*s && *s != c)