projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2c3a2
)
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
author
Alexandre Oliva
<aoliva@redhat.com>
Fri, 14 Mar 2003 07:03:36 +0000
(07:03 +0000)
committer
Alexandre Oliva
<aoliva@redhat.com>
Fri, 14 Mar 2003 07:03:36 +0000
(07:03 +0000)
.set mips2 on new abis.
sysdeps/unix/sysv/linux/mips/sys/tas.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/mips/sys/tas.h
b/sysdeps/unix/sysv/linux/mips/sys/tas.h
index
7ad916c
..
a840a94
100644
(file)
--- a/
sysdeps/unix/sysv/linux/mips/sys/tas.h
+++ b/
sysdeps/unix/sysv/linux/mips/sys/tas.h
@@
-1,4
+1,4
@@
-/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002
, 2003
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Maciej W. Rozycki <macro@ds2.pg.gda.pl>, 2000.
@@
-41,7
+41,9
@@
_test_and_set (int *p, int v) __THROW
("/* Inline test and set */\n"
"1:\n\t"
".set push\n\t"
+#if _MIPS_SIM == _MIPS_SIM_ABI32
".set mips2\n\t"
+#endif
"ll %0,%3\n\t"
"move %1,%4\n\t"
"beq %0,%4,2f\n\t"