Commit Graph

18 Commits

Author SHA1 Message Date
Josh Triplett
9531d05f64 prep_cif.c: Remove unnecessary ifdef for X86_WIN32
ffi_prep_cif_core had a special case for X86_WIN32, checking for
FFI_THISCALL in addition to the FFI_FIRST_ABI-to-FFI_LAST_ABI range
before returning FFI_BAD_ABI.  However, on X86_WIN32, FFI_THISCALL
already falls in that range, making the special case unnecessary.
Remove it.
2014-03-16 04:56:57 -07:00
Zachary Waldowski
9da28b4427 Darwin/x86_64: Fix 64-bit type shortening warnings 2014-02-05 14:28:58 -05:00
Anthony Green
3dc3f32c35 Undo iOS ARM64 changes. 2013-12-05 16:23:25 -05:00
Zachary Waldowski
0612081e6c Darwin: Misc size_t warnings 2013-11-30 04:14:10 -05:00
Alan Modra
ac75368893 This separates the 32-bit sysv/linux/bsd code from the 64-bit linux
code, and makes it possible to link code compiled with different
options to those used to compile libffi.  For example, a
-mlong-double-128 libffi can be used with -mlong-double-64 code.

Using the return value area as a place to pass parameters wasn't such
a good idea, causing a failure of cls_ulonglong.c.  I didn't see this
when running the mainline gcc libffi testsuite because that version of
the test is inferior to the upstreamm libffi test.

Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant
that a parameter save area could be allocated before it was strictly
necessary.  Wrong but harmless.  Found when splitting apart ffi.c
into 32-bit and 64-bit support.
2013-11-21 06:12:35 -05:00
Sandra Loosemore
16b93a211b Add nios2 port. 2013-10-15 15:33:59 -04:00
Anthony Green
20cae32b15 Xtensa support 2013-01-21 07:07:38 -05:00
Anthony Green
9c00a3f674 TILE-Gx/TILEPro support 2012-10-12 16:46:06 -04:00
Anthony Green
964c5b93f8 abi check fixes and Linux/x32 support 2012-03-03 14:46:20 -05:00
Anthony Green
d578b89619 Fix ABI check regression 2012-02-15 00:18:18 -05:00
Anthony Green
dee20f8e45 Rebased from gcc 2012-02-10 13:06:46 -05:00
Anthony Green
ff9454da44 Add David Gilbert's variadic function call support 2011-11-12 17:18:51 -05:00
Anthony Green
1fbf9dc44f Fix bad_abi test. rc5. 2011-02-13 08:06:39 -05:00
Anthony Green
69dbe845f4 Fix xfails 2011-02-09 07:38:43 -05:00
Anthony Green
c1d28ba8d5 stdcall-x86-closure-fix 2010-08-05 08:48:16 -04:00
Anthony Green
d14178be4c FFI_LAST_ABI fix 2010-07-23 09:14:00 -04:00
Anthony Green
cadeba6cb5 Microsoft Visual C port 2010-01-15 10:46:51 -05:00
Anthony Green
c6dddbd02b Initial commit 2009-10-04 08:11:33 -04:00