Log

Author Commit Date CI Message
Landon Fuller 19afda00 2010-09-19T14:20:52 Enable AC_SUBST for FFI_EXEC_TRAMPOLINE_TABLE
Landon Fuller 9e119644 2010-09-19T10:43:06 Add a hard-coded FFI_EXEC_TRAMPOLINE_TABLE arm implementation. This implements support for re-mapping a shared table of executable trampolines directly in front of a writable configuration page, working around PROT_WRITE restrictions for sandboxed applications on Apple's iOS. This implementation is for testing purposes; a proper allocator is still necessary, and ARM-specific code needs to be moved out of src/closures.c.
Landon Fuller f38364b3 2010-09-19T10:42:36 Fix symbol prefix for ffi_closure_SYSV_inner on Darwin.
Landon Fuller 36849e77 2010-09-19T09:35:04 Whitespace/comment fixes.
Landon Fuller b7641625 2010-09-19T09:04:34 Fix the script name (build-iphone.sh -> build-ios.sh)
Landon Fuller a3d9aa85 2010-09-19T09:03:52 Update the autogenerated autoconf/automake files.
Landon Fuller c71480ea 2010-09-19T09:02:05 Update automake/autoconf to conditionally build src/arm/trampoline.S if FFI_EXEC_TRAMPOLINE_TABLE is enabled.
Landon Fuller 9af9291b 2010-09-19T08:52:33 Add the trampoline table generated by gentramp.sh
Landon Fuller 68ce0c38 2010-09-19T08:38:19 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.
Landon Fuller 75af086b 2010-09-18T18:12:19 Update autoconf files
Landon Fuller 1ac92cca 2010-09-18T18:08:14 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.
Landon Fuller be72fbab 2010-09-18T18:02:25 Use the correct host triple for arm/darwin
Landon Fuller 70150bdf 2010-09-18T16:38:03 Add missing UNWIND entry; disables .pad on non-EABI targets.
Landon Fuller 6b452baf 2010-09-18T16:21:32 Apple assembler support; fixed most gas/ELF-isms.
Landon Fuller 8ddac835 2010-09-18T15:38:06 Fix placement of the __APPLE__ macro.
Landon Fuller 69043d02 2010-09-18T15:32:08 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
Landon Fuller a82e6c35 2010-09-18T14:44:24 Add a stub iOS build script to drive autoconf
Anthony Green 84e8de6e 2010-08-06T01:35:12 Restore execute permissions
Anthony Green 3aeecc9e 2010-08-05T15:19:00 Fix win64-struct-args patch
Anthony Green 00d0b59c 2010-08-05T14:56:53 Fix debug build for windows
Anthony Green bda487e8 2010-08-05T09:02:41 Don't use -safeseh with ml64
Anthony Green c1d28ba8 2010-08-05T08:48:16 stdcall-x86-closure-fix
Anthony Green 5feacad4 2010-08-05T08:30:04 define generic symbols carefully
Anthony Green 10ea8489 2010-08-05T08:24:27 don't copy win64 struct args
Anthony Green d14178be 2010-07-23T09:14:00 FFI_LAST_ABI fix
Anthony Green 3f5b1375 2010-07-12T14:39:18 rebase
Anthony Green eaf444ea 2010-07-10T08:59:09 Fix selinux test
Anthony Green 63097415 2010-05-05T20:14:56 Micharl Kohler's spelling fixes
Anthony Green 9dc9a293 2010-04-13T10:33:52 Rebase to latest GCC sources
Anthony Green f2c2a4fc 2010-04-13T10:19:28 Remove warnings and add OS/2 support
Anthony Green c0b69e57 2010-03-30T08:30:22 Dan Witte's windows build fixes.
Anthony Green 59a259f4 2010-03-15T05:57:51 Remove junk file
Anthony Green 3de1eb36 2010-03-15T05:57:24 fix-comments patch
Anthony Green c3813b6d 2010-01-26T16:48:56 Rebuild Makefiles with automake 1.11.1 for CVE-2009-4029.
Anthony Green 8d27f68b 2010-01-15T11:35:37 Mention recent changes in README
Anthony Green ff3cd68b 2010-01-15T11:27:24 Add msvc.sh wrapper
Anthony Green cadeba6c 2010-01-15T10:46:51 Microsoft Visual C port
Anthony Green 0739e7dc 2010-01-15T09:48:33 Add x86 Sun Studio compiler support
Anthony Green edfdfd2e 2010-01-13T02:56:19 Add closure example doc
Anthony Green 7b7a42f2 2010-01-12T09:14:14 Rebase from GCC
Anthony Green 4b18d1f7 2010-01-01T10:24:27 Add x86-64 MingW to README
Anthony Green c3042afa 2010-01-01T08:08:02 Reset quilt patches post 3.0.9 merge with GCC
Anthony Green b0304e96 2009-12-31T11:32:40 Update version
Anthony Green 2e7e03d0 2009-12-31T07:43:22 Final updates before 3.0.9
Anthony Green aea706c5 2009-12-29T10:09:31 really 3.0.9rc12
Anthony Green 0cfe60e9 2009-12-29T10:06:04 3.0.9rc12
Anthony Green 14e2e92e 2009-12-27T21:03:33 3.0.9rc11
Anthony Green 88440278 2009-12-26T12:57:23 HPUX support and avr32 test fixes.
Anthony Green 01c78756 2009-12-26T10:05:18 3.0.9rc9
Anthony Green 70868464 2009-12-26T09:58:03 Remove xfails for mips and arm
Anthony Green 838d4ad9 2009-12-26T09:57:27 Remove a bunch of xfails.
Anthony Green 7e37eaaf 2009-12-26T07:46:50 Fix huge_struct for solaris
Anthony Green 07cc7a37 2009-12-26T07:23:04 3.0.9rc8
Anthony Green 2b9be16f 2009-12-26T07:04:45 3.0.9rc8
Anthony Green 9458d88f 2009-12-26T07:02:27 Rebase from GCC
Anthony Green 6a341241 2009-12-26T06:51:33 Add Andreas Schwab's powerpc fix
Anthony Green 39c8792e 2009-12-25T21:52:28 3.0.9rc7
Anthony Green 1d04af52 2009-12-25T09:50:36 Updated some mips XFAILs
Anthony Green 26e9509c 2009-12-25T02:19:23 Clean up ChangeLog.libffi for older patches.
Anthony Green 9c157d32 2009-12-25T02:15:40 Clean up undefine_AC_ARG_VAR_PRECIOUS patch.
Anthony Green d22de05b 2009-12-25T02:04:23 Fix patches
Anthony Green 1fe3dc7c 2009-12-25T01:39:00 Add windows support patch.
Anthony Green f7c0bc61 2009-12-25T01:22:11 3.0.9rc6
Anthony Green c7fa2da8 2009-12-24T07:22:44 3.0.9rc6
Anthony Green da11bece 2009-12-24T05:34:46 Release 3.0.9rc5
Anthony Green e3399b11 2009-12-24T01:09:32 Update README
Anthony Green 115ab36f 2009-12-24T00:22:00 Update missing changes for 3.0.9r4.
Anthony Green f8c7a245 2009-12-23T23:46:22 Switch to quilt. Rebase to latest GCC.
Anthony Green ce806772 2009-10-05T00:41:35 Merge branch 'master' of git@github.com:atgreen/libffi
Anthony Green dcc1f6b4 2009-10-05T00:29:33 More clean up.
Anthony Green 2829f594 2009-10-05T00:28:03 Clean up
Anthony Green cd98813d 2009-10-05T00:25:29 From Jens Rehsack. Fix for 64-bit AIX.
Anthony Green e4a91de7 2009-10-05T00:16:17 From Abdulaziz Ghuloum. Adds special case for Snow Leopard.
Anthony Green 3425a763 2009-10-04T23:57:29 Fix detection of free/openbsd. From Alexis Ballier.
Anthony Green 2340e7a7 2009-10-04T23:53:17 AVR support
Anthony Green 5cbe2058 2009-10-04T23:53:11 Initial stand-alone patch.
Anthony Green c6dddbd0 2009-10-04T08:11:33 Initial commit
Anthony Green 5ffc0c37 2009-10-04T07:58:22 Update version to 3.0.9rc1. Add more useful things to .gitignore.
Anthony Green bd29f83e 2009-09-29T12:07:26 Add .gitignore
Anthony Green 9474f853 2009-09-29T11:13:02 Remove old CVSROOT files.
twall 0c25275e 2009-08-19T12:57:34 Apply Dave Korn's cygwin/GCC changes
aph 39228c27 2009-06-16T18:00:47 2009-06-16 Wim Lewis <wiml@hhhh.org> * src/powerpc/ffi.c: Avoid clobbering cr3 and cr4, which are supposed to be callee-saved. * src/powerpc/sysv.S (small_struct_return_value): Fix overrun of return buffer for odd-size structs.
aph 5e93cc70 2009-06-16T17:41:47 2009-06-16 Andreas Tobler <a.tobler@schweiz.org> PR libffi/40444 * testsuite/lib/libffi-dg.exp (libffi_target_compile): Add allow_stack_execute for Darwin.
aph b509af89 2009-06-16T16:17:52 2009-06-16 Andrew Haley <aph@redhat.com> * configure.ac (TARGETDIR): Add missing blank lines. * configure: Regenerate.
aph d57e96dc 2009-06-16T09:59:02 2009-06-16 Andrew Haley <aph@redhat.com> * testsuite/libffi.call/cls_align_sint64.c, testsuite/libffi.call/cls_align_uint64.c, testsuite/libffi.call/cls_longdouble_va.c, testsuite/libffi.call/cls_ulonglong.c, testsuite/libffi.call/return_ll1.c, testsuite/libffi.call/stret_medium2.c: Fix printf format specifiers. * testsuite/libffi.call/huge_struct.c: Ad x86 XFAILs. * testsuite/libffi.call/float2.c: Fix dg-excess-errors. * testsuite/libffi.call/ffitest.h, testsuite/libffi.special/ffitestcxx.h (PRIdLL, PRIuLL): Define.
aph b01d6d19 2009-06-16T09:44:54 2009-06-16 Andrew Haley <aph@redhat.com> * testsuite/libffi.call/err_bad_typedef.c: xfail everywhere. * testsuite/libffi.call/err_bad_abi.c: Likewise.
aph 35b6ded1 2009-06-12T15:29:20 2009-06-11 Kaz Kojima <kkojima@gcc.gnu.org> * testsuite/libffi.call/cls_longdouble_va.c: Add xfail sh*-*-linux-*. * testsuite/libffi.call/err_bad_abi.c: Add xfail sh*-*-*. * testsuite/libffi.call/err_bad_typedef.c: Likewise.
aph acc46605 2009-06-12T14:21:28 2009-06-12 Andrew Haley <aph@redhat.com> * ChangeLog.libffi: testsuite/libffi.call/cls_align_sint64.c, testsuite/libffi.call/cls_align_uint64.c, testsuite/libffi.call/cls_ulonglong.c, testsuite/libffi.call/return_ll1.c, testsuite/libffi.call/stret_medium2.c: Fix printf format specifiers. testsuite/libffi.special/unwindtest.cc: include stdint.h.
twall 16d1996e 2009-06-11T14:27:42 update changelog
twall 92a515c3 2009-06-11T14:27:28 use ffi_closure_alloc instead of stack-based closure
twall e4363160 2009-06-11T14:26:23 remove unused extern
twall 1dc2781d 2009-06-11T11:36:16 remove not-yet-applied changelog entries
twall bb27735f 2009-06-10T10:42:36 add win64 support
aph b2a54c10 2009-06-08T16:50:49 2009-06-08 Andrew Haley <aph@redhat.com> * testsuite/libffi.call/err_bad_abi.c: Add xfails. * testsuite/libffi.call/cls_longdouble_va.c: Add xfails. * testsuite/libffi.call/cls_dbls_struct.c: Add xfail x86_64-*-linux-*. * testsuite/libffi.call/err_bad_typedef.c: Add xfails. * testsuite/libffi.call/stret_medium2.c: Add __UNUSED__ to args. * testsuite/libffi.call/stret_medium.c: Likewise. * testsuite/libffi.call/stret_large2.c: Likewise. * testsuite/libffi.call/stret_large.c: Likewise.
aph 25723e71 2009-06-05T13:03:40 2009-06-05 Andrew Haley <aph@redhat.com> * src/x86/win32.S (_ffi_closure_STDCALL): Import from gcc.
aph 70758199 2009-06-04T16:29:58 2009-06-04 Andrew Haley <aph@redhat.com> * src/powerpc/ffitarget.h: Fix misapplied merge from gcc.
aph e8bb1256 2009-06-04T14:59:18 2009-06-04 Andrew Haley <aph@redhat.com> * src/mips/o32.S, src/mips/n32.S: Fix licence formatting.
aph d66a8e32 2009-06-04T14:43:40 2009-06-04 Andrew Haley <aph@redhat.com> * src/x86/darwin.S: Fix licence formatting. src/x86/win32.S: Likewise. src/sh64/sysv.S: Likewise. src/sh/sysv.S: Likewise.
aph 7c3b7fd6 2009-06-04T14:39:20 2009-06-04 Andrew Haley <aph@redhat.com> * src/sh64/ffi.c: Remove lint directives. Was missing from merge of Andreas Tobler's patch from 2006-04-22.
aph 1a2f93a8 2009-06-04T10:45:51 2009-06-04 Andrew Haley <aph@redhat.com> * src/sh/ffi.c: Apply missing hunk from Alexandre Oliva's patch of 2007-03-07.