Not set mips on mips r6
MIPS release changed encodes of some instructions, include ll/sc etc. if .set mips4 on mips r6, as will generate some wrong encode of some instructions.
This commit is contained in:
@@ -47,7 +47,9 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
.abicalls
|
.abicalls
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(__mips_isa_rev) || (__mips_isa_rev<6)
|
||||||
.set mips4
|
.set mips4
|
||||||
|
#endif
|
||||||
.text
|
.text
|
||||||
.align 2
|
.align 2
|
||||||
.globl ffi_call_N32
|
.globl ffi_call_N32
|
||||||
|
|||||||
Reference in New Issue
Block a user