diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-27 05:19:36 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-27 05:19:36 +0100 |
commit | 05fca4593c3f54a6750f3cd2dd1eff61a2f5ee93 (patch) | |
tree | 645c775208c73a78e1a7215e85a3915e71eaeb12 | |
parent | 79c4017f3518cd30afb59a170717c1e754eedadf (diff) |
mips: fix SIGILL problem with mips ISA r6
-rw-r--r-- | libc/sysdeps/linux/mips/bits/atomic.h | 2 |
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 |