aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-19 20:37:18 +0000
committerNick Clifton <nickc@redhat.com>2000-12-19 20:37:18 +0000
commit6286746a16329a3cd5612cd44a2eb672eea289c0 (patch)
treea548708f637131f5e7f71e1f570b26a73992d325 /newlib
parentf3549a047a47480d12a8280d52b57f5e8d6659ea (diff)
downloadnewlib-6286746a16329a3cd5612cd44a2eb672eea289c0.zip
newlib-6286746a16329a3cd5612cd44a2eb672eea289c0.tar.gz
newlib-6286746a16329a3cd5612cd44a2eb672eea289c0.tar.bz2
Add missing clobber of LR
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/machine/xscale/memcmp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 5e31ee5..2992a7c 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-19 Nick Clifton <nickc@redhat.com>
+
+ * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
+
Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
* 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 193f205..15ca9b1 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