This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libffi/50051] MIPS libffi does not compile for mips64octeon-linux-gnu
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2011 22:59:28 +0000
- Subject: [Bug libffi/50051] MIPS libffi does not compile for mips64octeon-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-50051-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50051
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-08-11 22:59:28 UTC ---
Simple fix which works for me:
Index: src/mips/n32.S
===================================================================
--- src/mips/n32.S (revision 177681)
+++ src/mips/n32.S (working copy)
@@ -43,6 +43,7 @@
#ifdef __GNUC__
.abicalls
#endif
+ .set mips4
.text
.align 2
.globl ffi_call_N32