diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 5e31ee5af..2992a7cba 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2000-12-19 Nick Clifton + + * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr". + Wed Dec 14 Jeff Johnston * configure.host: Turn on long double I/O for Cygwin. diff --git a/newlib/libc/machine/xscale/memcmp.c b/newlib/libc/machine/xscale/memcmp.c index 193f205db..15ca9b1d1 100644 --- a/newlib/libc/machine/xscale/memcmp.c +++ b/newlib/libc/machine/xscale/memcmp.c @@ -103,7 +103,7 @@ memcmp (const void *s1, const void *s2, size_t len) rsb %0, r3, r2" : "=r" (result), "=&r" (s2), "=&r" (len) : "0" (s1), "1" (s2), "2" (len) - : "r2", "r3", "r4", "r5", "r6", "cc"); + : "r2", "r3", "r4", "r5", "r6", "cc", "lr"); return result; } #endif