[Bug libffi/50051] MIPS libffi does not compile for mips64octeon-linux-gnu

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 11 22:59:00 GMT 2011


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



More information about the Gcc-bugs mailing list