This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] Fix libffi on mips64 with soft-float


Hi,
  The problem here was before FFI_ASSERT was turned off in 99% of the
time so nobody noticed that soft-float ABIS would fail.  When the
FFI_ASSERT was converted over to return FFI_BAD_ABI instead, n32 and
n64 soft-float abis started to fail.

I committed the following patch as obvious after a bootstrap/test on
mips64-linux-gnu with soft-float turned on.

Thanks,
Andrew Pinski

ChangeLog:
* src/mips/ffi.c (ffi_prep_closure_loc): Allow n32 with soft-float and n64 with
soft-float.

Attachment: fixmipsffi.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]