Add missing .mips0 at the end of inline assembler code.

This commit is contained in:
Ulrich Drepper 2000-10-02 22:04:18 +00:00
parent f0cd8b6f6d
commit 979b9fea6f
1 changed files with 2 additions and 1 deletions

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