summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-02 22:05:50 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-02 22:05:50 +0000
commitdc4b147e522fbabddf94286663d5ec13d12b2dab (patch)
tree540149fc2fd96e8add804623b674021e1ff5f09a
parent0e19b5afb7a5ead39584d5a86bf9c5c6cf63dfb0 (diff)
Update.
2000-10-02 Ralf Baechle <ralf@gnu.org> * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the end of inline assembler code.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/mips/sys/tas.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b0b42fa252..253a8db1fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-02 Ralf Baechle <ralf@gnu.org>
+
+ * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
+ end of inline assembler code.
+
2000-10-02 Ulrich Drepper <drepper@redhat.com>
* include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
diff --git a/sysdeps/unix/sysv/linux/mips/sys/tas.h b/sysdeps/unix/sysv/linux/mips/sys/tas.h
index bc7f52a206..8409535943 100644
--- a/sysdeps/unix/sysv/linux/mips/sys/tas.h
+++ b/sysdeps/unix/sysv/linux/mips/sys/tas.h
@@ -52,7 +52,8 @@ _test_and_set (int *p, int v) __THROW
".set pop\n\t"
"sc %1,%2\n\t"
"beqz %1,1b\n"
- "2:"
+ "2:\n\t"
+ ".set\tmips0"
: "=&r" (r), "=&r" (t), "=m" (*p)
: "m" (*p), "r" (v)
: "memory");