Commit Graph

342 Commits

Author SHA1 Message Date
Mark H Weaver
d3372c54ce Fix N32 ABI issue for MIPS. 2013-10-26 08:30:06 -04:00
Sandra Loosemore
16b93a211b Add nios2 port. 2013-10-15 15:33:59 -04:00
Anthony Green
128cd1d2f3 Fix spelling errors 2013-10-08 06:45:51 -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
Makoto Kato
3b44d41156 Fix build failure when using clang for Android
clang for Android generates __gnu_linux__ define, but gcc for Android doesn't.  So we should add check it for Android
2013-07-10 15:34:53 +09:00
Anthony Green
d3d099b40c little-endian ppc64 support 2013-07-02 16:11:38 -04: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
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
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
Anthony Green
12b1886d7b cygwin fix & updates for 3.0.13 2013-03-17 18:33:59 -04:00
Anthony Green
4acf0056f5 Build fix for soft-float power targets 2013-03-16 08:18:45 -04:00
Anthony Green
8a286f570c Fix for m68000 systems 2013-03-16 08:12:19 -04:00
Anthony Green
2fb527a017 Add Meta processor support 2013-03-16 07:46:38 -04:00
Alex Gaynor
ee18766b16 Fix for a crasher due to misaligned stack on x86-32.
Full information on reproduction (using Python's ctypes available here: http://bugs.python.org/issue17423)
2013-03-14 15:00:33 -07:00
Anthony Green
f308faf1ea Add moxie support. Release 3.0.12. 2013-02-11 14:25:13 -05:00
Anthony Green
a9521411a5 sparc v8 and testsuite fixes 2013-02-09 06:54:40 -05:00
Anthony Green
70b11b47ee Fix small struct passing on ppc 2013-02-08 16:12:19 -05:00
Anthony Green
8bd15d139a Fix many.c testcase for ppc 2013-02-08 13:56:37 -05:00
Anthony Green
cb03ea8f4e sparc v9 fixes for sun tools 2013-02-08 12:25:18 -05:00
Anthony Green
35ee8d44f3 Fix microblaze big-endian struct issue 2013-02-08 07:12:41 -05:00
Anthony Green
9db7e1a958 Fix botched sparc patch. Update version. 2013-02-07 21:06:08 -05:00
Anthony Green
fd07c9e404 Add cache flushing routine for sun compiler on sparc solaris 2.8 2013-02-07 18:00:36 -05:00
Anthony Green
6a79012942 Work around LLVM ABI problem on x86-64 2013-02-06 17:37:15 -05:00
Anthony Green
aeb8719a34 New microblaze support 2013-01-21 07:55:37 -05:00
Anthony Green
20cae32b15 Xtensa support 2013-01-21 07:07:38 -05:00
Anthony Green
05fbe1faed xlc compiler support 2013-01-11 16:54:40 -05:00
Anthony Green
8bf987d4df Fix for sunpro compiler on Solaris 2013-01-10 17:24:51 -05:00
Anthony Green
2d9b393975 Fix for closures with sunpro compiler 2013-01-09 21:14:54 -05:00
Anthony Green
35ddb69c2b Only emit DWARF unwind info when building with GCC 2013-01-08 07:53:37 -05:00
Anthony Green
8f4772f383 m68k fixes for signed 8 and 16-bit calls. 2013-01-07 06:14:53 -05:00
rofl0r
f6b58d2bdc fix build on ppc when long double == double 2012-11-22 16:26:21 +01:00
Anthony Green
f680b598b7 Add missing aarch64 configury bits 2012-11-06 16:00:40 -05:00
Anthony Green
dfadfb1985 Rebase for ppc64 fix 2012-10-31 06:46:41 -04:00
Anthony Green
e944b8c7eb Add PaX work-around 2012-10-30 14:06:40 -04:00
Anthony Green
58e8b66f70 AArch64 port 2012-10-30 07:36:49 -04:00
Anthony Green
9c00a3f674 TILE-Gx/TILEPro support 2012-10-12 16:46:06 -04:00
Anthony Green
048d2f41c3 Rebase 2012-10-11 10:55:25 -04:00
Anthony Green
213ed15c70 Add blackfin supprt from Alexandre Keunecke. 2012-04-27 01:34:15 -04:00
Zachary Waldowski
39e6a58604 More mac/ios build improvements 2012-04-11 22:39:46 -04:00
Anthony Green
853cc722a1 Fix typo for darwin targets 2012-04-10 06:33:33 -04:00
Anthony Green
a044a56b1c Linux/x32 libtool fix 2012-04-06 10:39:10 -04:00