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.
This commit is contained in:
Ulrich Drepper 2000-10-02 22:05:50 +00:00
parent 0e19b5afb7
commit dc4b147e52
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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");