Преглед на файлове

mips: fix SIGILL problem with mips ISA r6

Waldemar Brodkorb преди 7 години
родител
ревизия
05fca4593c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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