Hi,
  The problem here is Cavium's octeon assembler rejects floating point
if the arch is set to either octeon or octeon2.  This fixes the issue
by adding:
.set mips4 so that floating point instructions are enabled.

Committed as approved by Anthony in the bugzilla.

Thanks,
Andrew Pinski

libffi/ChangeLog:
* src/mips/n32.S: Add ".set mips4".
Index: src/mips/n32.S
===================================================================
--- src/mips/n32.S      (revision 182083)
+++ src/mips/n32.S      (working copy)
@@ -43,6 +43,7 @@
 #ifdef __GNUC__
        .abicalls
 #endif
+       .set mips4
        .text
        .align  2
        .globl  ffi_call_N32

Reply via email to