Add missing clobbered register.
This commit is contained in:
parent
55500bf14f
commit
2dd68dc2ff
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue