Landon Fuller
c71480eaf8
Update automake/autoconf to conditionally build src/arm/trampoline.S if FFI_EXEC_TRAMPOLINE_TABLE is enabled.
2010-09-19 09:02:05 -07:00
Landon Fuller
9af9291b73
Add the trampoline table generated by gentramp.sh
2010-09-19 08:52:33 -07:00
Landon Fuller
68ce0c383e
Add a shell script that generates the ARM trampoline page.
...
This generates a page of 340 trampolines, aligned within one page. The
trampolines use pc-relative addressing to reference config data
(context, jump address) from a page placed directly prior to the
trampoline page. This can be used on systems -- such as iOS -- that do not
support writable, executable memory by remapping the executable page
containing the trampolines directly above a newly allocated writable
config page.
2010-09-19 08:38:19 -07:00
Landon Fuller
75af086be8
Update autoconf files
2010-09-18 18:12:19 -07:00
Landon Fuller
1ac92cca9b
Add autoconf check for W^X platforms that require a trampoline table.
...
This adds the FFI_EXEC_TRAMPOLINE_TABLE. The flag is enabled for
arm-apple-darwin, where PROT_EXEC on writable (or formerly writable) pages is
not permitted for sandboxed binaries.
2010-09-18 18:08:14 -07:00
Landon Fuller
be72fbab29
Use the correct host triple for arm/darwin
2010-09-18 18:02:25 -07:00
Landon Fuller
70150bdf45
Add missing UNWIND entry; disables .pad on non-EABI targets.
2010-09-18 16:38:03 -07:00
Landon Fuller
6b452bafae
Apple assembler support; fixed most gas/ELF-isms.
2010-09-18 16:21:32 -07:00
Landon Fuller
8ddac835b6
Fix placement of the __APPLE__ macro.
2010-09-18 15:38:06 -07:00
Landon Fuller
69043d0293
Work-around libffi's FP ABI detection.
...
On iOS, we must use the AAPCS floating point return value calling
conventions. libffi's ARM implementation will only use these conventions
if __SOFTFP__ is defined, which is not the case when GCC's
-mfloat-abi defaults to 'softfp' instead of 'soft'. To work around this
we manually define __SOFTFP__ for Apple platforms in the ARM-specific
sysv.S.
See also:
http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/iPhoneOSABIReference/Introduction/Introduction.html
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042d/IHI0042D_aapcs.pdf
2010-09-18 15:32:08 -07:00
Landon Fuller
a82e6c354e
Add a stub iOS build script to drive autoconf
2010-09-18 14:44:24 -07:00
Anthony Green
84e8de6e9f
Restore execute permissions
2010-08-06 01:35:12 -04:00
Anthony Green
3aeecc9eb1
Fix win64-struct-args patch
2010-08-05 15:19:00 -04:00
Anthony Green
00d0b59cd1
Fix debug build for windows
2010-08-05 14:56:53 -04:00
Anthony Green
bda487e870
Don't use -safeseh with ml64
2010-08-05 09:02:41 -04:00
Anthony Green
c1d28ba8d5
stdcall-x86-closure-fix
2010-08-05 08:48:16 -04:00
Anthony Green
5feacad4a5
define generic symbols carefully
2010-08-05 08:30:04 -04:00
Anthony Green
10ea848900
don't copy win64 struct args
2010-08-05 08:24:27 -04:00
Anthony Green
d14178be4c
FFI_LAST_ABI fix
2010-07-23 09:14:00 -04:00
Anthony Green
3f5b1375ab
rebase
2010-07-12 14:39:18 -04:00
Anthony Green
eaf444eabc
Fix selinux test
2010-07-10 08:59:09 -04:00
Anthony Green
6309741522
Micharl Kohler's spelling fixes
2010-05-05 20:14:56 -04:00
Anthony Green
9dc9a293f3
Rebase to latest GCC sources
2010-04-13 10:33:52 -04:00
Anthony Green
f2c2a4fce9
Remove warnings and add OS/2 support
2010-04-13 10:19:28 -04:00
Anthony Green
c0b69e57d5
Dan Witte's windows build fixes.
2010-03-30 08:30:22 -04:00
Anthony Green
59a259f4d3
Remove junk file
2010-03-15 05:57:51 -04:00
Anthony Green
3de1eb36d3
fix-comments patch
2010-03-15 05:57:24 -04:00
Anthony Green
c3813b6d7f
Rebuild Makefiles with automake 1.11.1 for CVE-2009-4029.
2010-01-26 16:48:56 -05:00
Anthony Green
8d27f68baa
Mention recent changes in README
2010-01-15 11:35:37 -05:00
Anthony Green
ff3cd68b8c
Add msvc.sh wrapper
2010-01-15 11:27:24 -05:00
Anthony Green
cadeba6cb5
Microsoft Visual C port
2010-01-15 10:46:51 -05:00
Anthony Green
0739e7dc00
Add x86 Sun Studio compiler support
2010-01-15 09:48:33 -05:00
Anthony Green
edfdfd2e85
Add closure example doc
2010-01-13 02:56:19 -05:00
Anthony Green
7b7a42f221
Rebase from GCC
2010-01-12 09:14:14 -05:00
Anthony Green
4b18d1f73d
Add x86-64 MingW to README
2010-01-01 10:24:27 -05:00
Anthony Green
c3042afaf3
Reset quilt patches post 3.0.9 merge with GCC
2010-01-01 08:08:02 -05:00
Anthony Green
b0304e9679
Update version
2009-12-31 11:32:40 -05:00
Anthony Green
2e7e03d014
Final updates before 3.0.9
2009-12-31 07:43:22 -05:00
Anthony Green
aea706c528
really 3.0.9rc12
2009-12-29 10:09:31 -05:00
Anthony Green
0cfe60e9d1
3.0.9rc12
2009-12-29 10:06:04 -05:00
Anthony Green
14e2e92e86
3.0.9rc11
2009-12-27 21:03:33 -05:00
Anthony Green
884402787b
HPUX support and avr32 test fixes.
2009-12-26 12:57:23 -05:00
Anthony Green
01c78756af
3.0.9rc9
2009-12-26 10:05:18 -05:00
Anthony Green
7086846465
Remove xfails for mips and arm
2009-12-26 09:58:03 -05:00
Anthony Green
838d4ad920
Remove a bunch of xfails.
2009-12-26 09:57:27 -05:00
Anthony Green
7e37eaaf77
Fix huge_struct for solaris
2009-12-26 07:46:50 -05:00
Anthony Green
07cc7a3719
3.0.9rc8
2009-12-26 07:23:04 -05:00
Anthony Green
2b9be16ffa
3.0.9rc8
2009-12-26 07:04:45 -05:00
Anthony Green
9458d88f67
Rebase from GCC
2009-12-26 07:02:27 -05:00
Anthony Green
6a34124175
Add Andreas Schwab's powerpc fix
2009-12-26 06:51:33 -05:00