瀏覽代碼

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