Commit Graph
510 Commits
Author SHA1 Message Date
David Schneider f3657da278 update Changelog 2013-11-14 13:02:16 +01:00
David Schneider cdf405d574 add a testcase for the double/float issue on ARMHF 2013-11-13 18:01:56 +01:00
David Schneider 77f823e31f stop trying to assing vfp regs once we are done with the registers 2013-11-13 14:26:57 +01:00
David Schneider 37067ec503 mark all vfp registers as used when done.
To avoid assigning registers the would fit, once arguments have been on
the stack, we mark all registers as used once we do not find a free
register for the first time.
2013-11-12 19:49:01 +01:00
Anthony Green 2f5b7ce545 UltraSPARC IIi fix. Update README and build configury. 2013-11-09 06:16:32 -05:00
Mark Kettenis becd754434 Align the stack pointer to 16-bytes. 2013-11-06 06:43:49 -05:00
Konstantin Belousov 05c3109340 Mark executable as not requiring executable stack. 2013-11-06 06:40:58 -05:00
Anthony Green cf6bf9818e Fix up docs 2013-11-02 17:23:59 -04:00
Anthony Green 0217717685 Merge branch 'master' of github.com:/atgreen/libffi 2013-11-02 17:11:22 -04:00
Anthony Green c2422174b3 Merge pull request #45 from foss-for-synopsys-dwc-arc-processors/arc_support
arc: Fix build error
2013-11-02 17:11:08 -04:00
Anthony Green c265b4cacb Merge pull request #45 from foss-for-synopsys-dwc-arc-processors/arc_support
arc: Fix build error
2013-11-02 14:08:23 -07:00
Anthony Green f4b843f837 Don't align stack for win32 2013-11-02 17:01:15 -04:00
Anthony Green f3cd393457 Merge pull request #51 from vbudovski/for_upstream
Don't use 16 byte aligned stack for WIN32
2013-11-02 13:17:57 -07:00
Anthony Green 666f3e71b5 Add more credits to README. Tidy up. 2013-10-26 09:12:42 -04:00
Anthony Green 73ada14e75 Update README 2013-10-26 09:09:45 -04:00
Mark H Weaver d3372c54ce Fix N32 ABI issue for MIPS. 2013-10-26 08:30:06 -04:00
Anthony Green d6716aba81 Update travis-ci build dependencies to include texinfo 2013-10-15 15:42:49 -04:00
Sandra Loosemore 16b93a211b Add nios2 port. 2013-10-15 15:33:59 -04:00
Sandra Loosemore 2f5626ce02 Fix testsuite bug 2013-10-15 15:32:16 -04:00
Marcus Shawcroft f64e4a8655 Fix many.c testcase for Aarch64 2013-10-15 15:20:14 -04:00
Anthony Green 128cd1d2f3 Fix spelling errors 2013-10-08 06:45:51 -04:00
Anthony Green ff06269d70 Update README for M88K and VAX 2013-10-08 06:32:18 -04:00
Anthony Green d2fcbcdfbe Add m88k and VAX support. Update some configury bits. 2013-10-08 06:27:46 -04:00
Vitaly Budovski 6aa15900ac Don't use 16 byte aligned stack for WIN32
This fixes a crash when accessing __stdcall functions in Python ctypes.
2013-09-05 12:05:06 +10:00
Mischa Jonker d918d47809 arc: Fix build error
One part of the patch for ARC support was missing in the upstreamed
version.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
2013-07-08 15:51:36 +02:00
Anthony Green d3d099b40c little-endian ppc64 support 2013-07-02 16:11:38 -04:00
Anthony Green 0f8690a84c Rebuild for ARC additions 2013-07-02 15:54:40 -04:00
Anthony Green f88118b345 Revert "Merge pull request #36 from abergmeier/emscripten_fix"
This reverts commit 6a4d901dde, reversing
changes made to b50a13b9c0.
2013-07-02 15:51:27 -04:00
Anthony Green 6a4d901dde Merge pull request #36 from abergmeier/emscripten_fix
Fixes for building with Emscripten
2013-07-02 12:12:34 -07:00
Anthony Green b50a13b9c0 Merge pull request #44 from foss-for-synopsys-dwc-arc-processors/arc_support
Add ARC support
2013-07-02 12:10:26 -07:00
Anthony Green 767f1f96e5 Merge pull request #43 from JensTimmerman/__m128
added include for xmmintrin.h
2013-07-02 12:08:04 -07:00
Jens Timmerman b8a91d81be added include for xmmintrin.h 2013-07-02 10:57:37 +02:00
Mischa Jonker b082e15091 Add ARC support
This adds support for the ARC architecture to libffi. DesignWare ARC
is a family of processors from Synopsys, Inc.

This patch has been tested on a little-endian system and passes
the testsuite.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
2013-06-14 10:06:30 +02:00
Andreas Bergmeier 587002c092 Enable disabling of libtool on platforms where it does not work (e.g. LLVM).
Build libraries normally then.
2013-04-19 17:12:24 +02:00
Anthony Green c3c40e0290 Merge pull request #34 from davidsch/armhf
Fix ARM hard-float support for large numbers of VFP arguments
2013-03-30 05:24:14 -07:00
David Schneider 4750e3c662 update changelog 2013-03-28 18:48:57 +01:00
David Schneider 9708e7cf09 folow the ARM hard-float ABI in ffi_prep_incoming_args_VFP 2013-03-28 16:40:40 +01:00
David Schneider b41120981e create separated versions of ffi_prep_incoming_args_* for SYSV and VFP ABIs.
The different versions will be called depending on the value of cif->abi
2013-03-28 16:40:40 +01:00
David Schneider dd26f1f39c add a failing test for closures on ARM hardfloat 2013-03-28 16:40:34 +01:00
David Schneider 3c1608613a extend ffi_prepare_args for FFI_VFP (hard-float ABI), fixing an issue with passing VFP arguments in VFP registers and the stack, while at the same time not using all core registers. 2013-03-28 16:38:28 +01:00
David Schneider 0f2ff2d4c9 separate ARM ffi_prepare_args in a version implementing the simple SYSV calling convention and one for the hard-float calling convention 2013-03-28 16:38:25 +01:00
David Schneider 3a352b8a82 move the hardfloat specific argument copying code to the helper function 2013-03-28 16:38:21 +01:00
David Schneider 5df6b7944a extract setting of arguments to be passed to a helper function 2013-03-28 16:38:15 +01:00
David Schneider 7d1048c471 extract code to align the argument storage pointer to a helper function 2013-03-28 16:38:10 +01:00
David Schneider b9f013788f add a testcase, that on ARM hardfloat needs more than the 8 VFP argument registers to pass arguments to a call 2013-03-28 16:38:04 +01:00
David Schneider 2fbdb0f231 use the absolute value to check the test result against an epsilon 2013-03-28 16:37:58 +01:00
Anthony Green ede96e4eb6 Merge branch 'master' of github.com:/atgreen/libffi 2013-03-17 18:38:21 -04:00
Anthony Green f22ab3c687 Merge branch 'master' of github.com:/atgreen/libffi 2013-03-17 18:37:50 -04:00
Anthony Green 9e34992a5e Merge branch 'master' of github.com:/atgreen/libffi 2013-03-17 18:34:54 -04:00
Anthony Green 12b1886d7b cygwin fix & updates for 3.0.13 2013-03-17 18:33:59 -04:00