summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-27 05:19:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-27 05:19:36 +0100
commit05fca4593c3f54a6750f3cd2dd1eff61a2f5ee93 (patch)
tree645c775208c73a78e1a7215e85a3915e71eaeb12 /libc/sysdeps/linux/mips/bits
parent79c4017f3518cd30afb59a170717c1e754eedadf (diff)
mips: fix SIGILL problem with mips ISA r6
Diffstat (limited to 'libc/sysdeps/linux/mips/bits')
-rw-r--r--libc/sysdeps/linux/mips/bits/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/bits/atomic.h b/libc/sysdeps/linux/mips/bits/atomic.h
index e4f9e3b73..ed8369ae5 100644
--- a/libc/sysdeps/linux/mips/bits/atomic.h
+++ b/libc/sysdeps/linux/mips/bits/atomic.h
@@ -37,7 +37,7 @@ typedef uintptr_t uatomicptr_t;
typedef intmax_t atomic_max_t;
typedef uintmax_t uatomic_max_t;
-#if _MIPS_SIM == _ABIO32
+#if _MIPS_SIM == _ABIO32 && __mips < 2
#define MIPS_PUSH_MIPS2 ".set mips2\n\t"
#else
#define MIPS_PUSH_MIPS2