76d19d004e
Ensure the linker supports @unwind sections in libffi.
Anthony Green
2014-03-14 16:54:31 -04:00
c86d9b6cc6
Fix merge
Anthony Green
2014-03-14 16:51:20 -04:00
4efb7dbfd9
Merge pull request #81 from rvandermeulen/bug-756740
Anthony Green
2014-03-14 16:47:57 -04:00
a1a6f71bfe
Remove stray hunk that shouldn't have been included in this patch.
Ryan VanderMeulen
2014-03-10 15:12:47 -04:00
f8cdf11467
Replace double quotes with single quotes in Makefile.in to improve compatibility between some versions of MSYS and gmake. From Mozilla bug 943728. https://bugzilla.mozilla.org/show_bug.cgi?id=943728
Ryan VanderMeulen
2014-03-10 15:04:58 -04:00
2349fec9a8
Fix typo in doc
Daiki Ueno
2014-03-05 17:53:02 +09:00
634a475eaf
Update Makefile for new darwin scripts
Anthony Green
2014-03-01 18:37:29 -05:00
c7b67e874b
Add README note
Anthony Green
2014-03-01 18:34:18 -05:00
a04e30ba3d
Add missing -DFFI_DEBUG flag
Anthony Green
2014-02-28 17:20:59 -05:00
934dc1b5c8
Merge branch 'master' of github.com:/atgreen/libffi
Anthony Green
2014-02-28 01:10:17 -05:00
11d7aa9d7a
Merge pull request #46 from makotokato/android-clang
Anthony Green
2014-02-28 01:06:48 -05:00
67fbef3b56
Merge pull request #46 from makotokato/android-clang
Anthony Green
2014-02-28 01:06:48 -05:00
b40aeda31a
Merge branch 'master' of github.com:/atgreen/libffi
Anthony Green
2014-02-28 01:01:29 -05:00
53ceaf14c5
Merge pull request #40 from wojdyr/master
Anthony Green
2014-02-28 01:01:02 -05:00
20698abc6a
Merge pull request #66 from ppizarro/master
Anthony Green
2014-02-28 00:56:27 -05:00
860fe6646f
Merge pull request #66 from ppizarro/master
Anthony Green
2014-02-28 00:56:27 -05:00
64bd06990a
Add ChangeLog entry for Josh's change
Anthony Green
2014-02-28 00:52:56 -05:00
edf29c5169
Merge pull request #75 from joshtriplett/longdouble
Anthony Green
2014-02-28 00:50:25 -05:00
33c9954f2e
Rebuilt with new libtool
Anthony Green
2014-02-28 00:38:41 -05:00
926b6989fb
Merge branch 'master' of github.com:/atgreen/libffi
Anthony Green
2014-02-28 00:26:57 -05:00
5a88c85fde
Fix spelling errors
Anthony Green
2014-02-28 00:23:04 -05:00
cc82051c7e
Fix spelling errors
Anthony Green
2014-02-28 00:23:04 -05:00
001aaf4b1b
When no VFP arguments are present the IP register is used uninitialized. Initialize it to the value of FP.
Anthony Green
2014-02-28 00:20:17 -05:00
49f7729c3c
aarch64 fix
Anthony Green
2014-02-28 00:17:16 -05:00
447483d51c
Fix ChangeLog merge
Anthony Green
2014-02-27 15:42:41 -05:00
3998d2604b
Fix build error on x86 without distinct long double
Josh Triplett
2014-02-17 11:20:33 -08:00
51377bda9a
Merge pull request #72 from heiher/devel
Anthony Green
2014-02-15 08:06:29 -05:00
f08da54654
Merge pull request #68 from zeldin/master
Anthony Green
2014-02-15 08:06:11 -05:00
40927bd3e1
Fix call floating point va function
Heiher
2014-01-21 23:18:27 +08:00
b4df9cf9cc
AArch64: Fix void fall-through case when assertions are enabled
Zachary Waldowski
2014-02-05 14:22:52 -05:00
f466aad0d9
AArch64: Fix missing semicolons when assertions are enabled
Zachary Waldowski
2014-01-21 16:38:31 -05:00
7ea677733b
Remove build-ios from Makefile
Anthony Green
2013-11-30 20:58:31 -05:00
6ae046cc59
Mention Aarch64 on iOS
Anthony Green
2013-11-30 21:06:51 -05:00
fa5f25c20f
Linux/ppc64: Remove assumption on contents of r11 in closure
Marcus Comstedt
2014-01-04 19:00:08 +01:00
1a0b01e171
When the function called by the ffi called a function defined in a shared library generate a fatal error The correction was to take into consideration the GOT.
Paulo Pizarro
2014-01-02 16:17:59 -02:00
3dc3f32c35
Undo iOS ARM64 changes.
Anthony Green
2013-12-05 16:23:25 -05:00
356b2cbc30
Merge branch 'master' of github.com:/atgreen/libffi
Anthony Green
2013-11-30 22:38:13 -05:00
484a758426
Mention Aarch64 on iOS
Anthony Green
2013-11-30 21:06:51 -05:00
07345a30ec
Mention Aarch64 on iOS
Anthony Green
2013-11-30 21:06:51 -05:00
d4b931c1b8
Remove build-ios from Makefile
Anthony Green
2013-11-30 20:58:31 -05:00
dfbf236d70
Merge branch 'master' of github.com:/atgreen/libffi Add ChangeLog entry.
Anthony Green
2013-11-30 20:54:54 -05:00
bb9740e545
Merge pull request #60 from zwaldowski/ios-redo
Anthony Green
2013-11-30 17:54:39 -08:00
852ac3bd30
Merge branch 'master' of github.com:/atgreen/libffi
Anthony Green
2013-11-21 21:25:44 -05:00
ab79d6e219
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.
Alan Modra
2013-11-21 06:12:35 -05:00
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.
Alan Modra
2013-11-21 06:12:35 -05:00
69df91cfb4
Merge pull request #59 from iains/powerpc-darwin-unwind-fix
Anthony Green
2013-11-18 06:34:04 -08:00
aa1f62c0a0
Fix PowerPC Darwin FDE encodings to use pcrel correctly. Modernise the picbase labels.
Iain Sandoe
2013-11-18 13:11:56 +00:00
2f450822a8
Clean up code to appease modern GCC compiler.
Anthony Green
2013-11-18 06:52:29 -05:00
16d56c51ad
An #endif in the wrong place would cause compile failure on powerpcle. Using bl instead of b doesn't cause runtime failures as you might think, but does mess the processor branch prediction.
Alan Modra
2013-11-18 06:36:03 -05:00
34f878a5ef
Merge branch 'master' of github.com:/atgreen/libffi
Anthony Green
2013-11-16 06:57:54 -05:00
83f65b63d9
Finally, this adds _CALL_ELF == 2 support. ELFv1 objects can't be linked with ELFv2 objects, so this is one case where preprocessor tests in ffi.c are fine. Also, there is no need to define a new FFI_ELFv2 or somesuch value in enum ffi_abi. FFI_LINUX64 will happily serve both ABIs.
Alan Modra
2013-11-16 06:53:50 -05:00
1fd045784c
Finally, this adds _CALL_ELF == 2 support. ELFv1 objects can't be linked with ELFv2 objects, so this is one case where preprocessor tests in ffi.c are fine. Also, there is no need to define a new FFI_ELFv2 or somesuch value in enum ffi_abi. FFI_LINUX64 will happily serve both ABIs.
Alan Modra
2013-11-16 06:53:50 -05:00
362851379a
Andreas' 2013-02-08 change reverted some breakage for struct return values from 2011-11-12, but in so doing reintroduced string instructions to sysv.S that are not supported on all powerpc variants. This patch properly copies the bounce buffer to destination in C code rather than in asm.
Alan Modra
2013-11-16 06:52:43 -05:00
1c06515d92
The powerpc64 ABIs align structs passed by value, a fact ignored by gcc for quite some time. Since gcc now does the correct alignment, libffi needs to follow suit. This ought to be made selectable via a new abi value, and the #ifdefs removed from ffi.c along with many other #ifdefs present there and in assembly. I'll do that with a followup patch sometime.
Alan Modra
2013-11-16 06:41:36 -05:00
a97cf1fae5
This patch prepares for ELFv2, where sizes of these areas change. It also makes some minor changes to improve code efficiency.
Alan Modra
2013-11-16 06:40:13 -05:00
164283f4ac
The powerpc64 support opted to pass floating point values both in the fpr area and the parameter save area, necessary when the backend doesn't know if a function argument corresponds to the ellipsis arguments of a variadic function. This patch adds powerpc support for variadic functions, and changes the code to only pass fp in the ABI mandated area. ELFv2 needs this change since the parameter save area may not exist there.
Alan Modra
2013-11-16 06:38:55 -05:00
31257b3189
Fix sample closure code
Andrew Haley
2013-11-16 06:35:51 -05:00
db0ace3a38
Fix broken test cases
Andrew Haley
2013-11-16 06:29:25 -05:00