Explorar o código

mips: fix SIGILL problem with mips ISA r6

Waldemar Brodkorb %!s(int64=7) %!d(string=hai) anos
pai
achega
05fca4593c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libc/sysdeps/linux/mips/bits/atomic.h

+ 1 - 1
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