Переглянути джерело

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