Commit 54cb3e2345ee8e2483d4705a9fb2967b6e5a9bd1

Anthony Green 2017-12-31T07:46:05

Merge pull request #396 from wzssyqa/master mips/n32.S: disable .set mips4 on mips r6

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/mips/n32.S b/src/mips/n32.S
index edc6905..1a940b6 100644
--- a/src/mips/n32.S
+++ b/src/mips/n32.S
@@ -47,7 +47,9 @@
 #ifdef __GNUC__
 	.abicalls
 #endif
+#if !defined(__mips_isa_rev) || (__mips_isa_rev<6)
 	.set mips4
+#endif
 	.text
 	.align	2
 	.globl	ffi_call_N32