Link failure is caused by absolute address of FDEs
encoded into .eh_frame entries.
Fixed TEXTREL by using pcrel (instead of ABS) encoding
for absolute addresses (__PIC__ code) by adding augmentation
information ("zR" CIE type).
All tests still pass on hppa2.0. The specific tests that still pass
and exercise this code path:
testsuite/libffi.call/unwindtest.cc
testsuite/libffi.call/unwindtest_ffi_call.cc
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
commit 06bf1a9deaa781b711c4d3718561e7faf303a842
Author: driver1998 <driver1998.ms@outlook.com>
Date: Sun Apr 28 03:21:44 2019 +0800
fix x86/x64 MSVC build (#487)
commit db5706ff285c476aa3c0f811ff2b188319ac3ebe
Author: Paul Monson <paulmon@users.noreply.github.com>
Date: Fri Apr 26 04:58:58 2019 -0700
add support for 32-bit ARM on Windows (#477)
* add support for 32-bit ARM on Windows
* fix mismatched brace in appveyor.yml
* remove arm platform from appveyor.yml for now
* fix arm build
* fix typo
* fix assembler names
* try Visual Studio 2017
* add windows arm32 to .appveyor.yml
* update README.md
commit d1e9b4b96cc8d237c3532cf83da0d4b99d19abb5
Merge: 05a1796 a7d6396
Author: Tom Tromey <tom@tromey.com>
Date: Tue Apr 9 14:00:10 2019 -0600
Merge pull request #482 from sharkcz/aarch64
fix check for Linux/aarch64
commit a7d6396f06d5e1a726f24b746b509514f466380f
Author: Dan Horák <dan@danny.cz>
Date: Fri Mar 29 14:19:20 2019 +0100
fix check for Linux/aarch64
fixes #473
commit 05a1796419f68267250c0b8ae7138da36ab60b01
Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com>
Date: Tue Feb 19 04:11:28 2019 -0800
Cleanup symbol exports on darwin and add architecture preprocessor checks to assist in building fat binaries (eg: i386+x86_64 on macOS or arm+aarch64 on iOS) (#450)
* x86: Ensure _efi64 suffixed symbols are not exported
* x86: Ensure we do not export ffi_prep_cif_machdep
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* x86: Ensure we don't export ffi_call_win64, ffi_closure_win64, or ffi_go_closure_win64
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* closures: Silence a semantic warning
libffi/src/closures.c:175:23: This function declaration is not a prototype
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* aarch64: Ensure we don't export ffi_prep_cif_machdep
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* arm: Ensure we don't export ffi_prep_cif_machdep
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* aarch64, arm, x86: Add architecture preprocessor checks to support easier fat builds (eg: iOS)
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* x86: Silence some static analysis warnings
libffi/src/x86/ffi64.c:286:21: The left operand of '!=' is a garbage value due to array index out of bounds
libffi/src/x86/ffi64.c:297:22: The left operand of '!=' is a garbage value due to array index out of bounds
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* aarch: Use FFI_HIDDEN rather than .hidden
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* ffi.h: Don't advertise ffi_java_rvalue_to_raw, ffi_prep_java_raw_closure, and ffi_prep_java_raw_closure_loc when FFI_NATIVE_RAW_API is 0
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
commit 3ec522bc1c1c5a7fb66b85d4fb6a0fe80581d597
Author: dabrain34 <scerveau@gmail.com>
Date: Tue Feb 19 13:09:09 2019 +0100
Fix cfi checks for old compiler (#453)
cfi_sections can be unsupported when cfi_startproc
and cfi_endproc are.
commit e1118af50599314a2cbac3eb51a81896e8e21d0c
Author: Paul Monson <paulmon@users.noreply.github.com>
Date: Tue Feb 19 03:58:25 2019 -0800
changes for win32 on windows (#468)
commit 44a6c28545186d78642487927952844156fc7ab5
Author: Florian Weimer <fw@deneb.enyo.de>
Date: Tue Feb 19 12:55:11 2019 +0100
aarch64: Flush code mapping in addition to data mapping (#471)
This needs a new function, ffi_data_to_code_pointer, to translate
from data pointers to code pointers.
Fixes issue #470.
commit 042ef8c314a946ef1cd58c6e10cd74e403ef5bf9
Author: Anthony Green <green@moxielogic.com>
Date: Tue Feb 12 08:50:30 2019 -0500
Remove -Os testing. No ABI impact, and helps trim log lengths.
commit 8fa88373a1d433c675b11200ccd58418e91f81e4
Merge: 737d4fa 2c5b164
Author: Tom Tromey <tom@tromey.com>
Date: Wed Dec 19 14:18:40 2018 -0700
Merge pull request #461 from NativeScript/bektchiev/fix-visibility-hidden-check-in-configure
fix(configure): Correctly detect visibility("hidden") support on Darwin
commit 2c5b164288712cc048048d73a3cd841d845a132c
Author: Martin Bektchiev <martin.bektchiev@progress.com>
Date: Wed Dec 19 18:33:08 2018 +0200
fix(configure): Correctly detect visibility("hidden") support on Darwin
commit 737d4faa00d681b4c758057f67e1a02d813d01c2
Merge: a5ea752 4a84df4
Author: Tom Tromey <tom@tromey.com>
Date: Fri Nov 30 08:16:00 2018 -0700
Merge pull request #457 from NativeScript/bektchiev/fix-arm64-q3-q4-args
Fix Q registers parameter passing on ARM64
commit 4a84df4ae9d33bb766fb34ce8a871d84d6e0ed9c
Author: Martin Bektchiev <martin.bektchiev@progress.com>
Date: Wed Oct 31 15:53:54 2018 +0200
Fix Q registers parameter passing on ARM64
The second two quads are located at offset 32 not 16
commit a5ea7527cda8d9b7d011eb4004dfcbad54583bd2
Merge: b11b08c ba73a67
Author: Tom Tromey <tom@tromey.com>
Date: Wed Sep 19 07:29:36 2018 -0600
Merge pull request #443 from jeremyhu/master
Update FFI_HIDDEN() to use .private_extern on Apple platforms and use the macro where appropriate
commit b11b08ca8daacb08943ae5ea8c124771a8b82dde
Merge: 980908b e6eac78
Author: Tom Tromey <tom@tromey.com>
Date: Tue Sep 18 08:26:31 2018 -0600
Merge pull request #449 from gpakosz/align-macros
Prefix ALIGN_DOWN macro with FFI_
commit e6eac7863e2bf1a009ea863041b354bdb4af6b67
Author: Gregory Pakosz <gregory.pakosz@gmail.com>
Date: Tue Sep 18 15:19:53 2018 +0200
Prefix ALIGN_DOWN macro with FFI_
commit 980908b47bbde09fab88ee4b2b61d8bc5d4378a7
Merge: 65da63a 4cb776b
Author: Tom Tromey <tom@tromey.com>
Date: Sat Aug 11 09:53:15 2018 -0600
Merge pull request #445 from andreas-schwab/master
RISC-V go closures
commit 4cb776bc8075332d2f3e59f51785d621fcda48f6
Author: Andreas Schwab <schwab@suse.de>
Date: Thu Aug 9 12:12:29 2018 +0200
RISC-V go closures
This implements go closures for RISC-V. It has been tested on
riscv64-suse-linux and against the libgo testsuite.
commit ba73a671cb49f8e2c4417723a9dc233e328926ae
Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
Date: Fri Jul 20 09:37:43 2018 -0700
Update FFI_HIDDEN() to use .private_extern on Apple platforms and use the macro where appropriate
Fix issue #439
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
commit 65da63abc843fe448aaa86015d094cf016f325ba
Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com>
Date: Mon Jun 25 04:38:58 2018 -0700
Add compact unwind for darwin/i386 (#440)
* x86: Add implementation of compact unwind for ffi_call_i386, et al.
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
* x86: Use __text as the section name to avoid deprecated section name warnings.
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
* darwin: Add missing regular,debug attributes for compact unwind sections
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
commit 2309b58448b0c8349156d687d7fa8709dfb68992
Author: Shoaib Meenai <shoaib.meenai@gmail.com>
Date: Sun Jun 17 17:04:24 2018 -0700
Mark sysv.S as SafeSEH compatible (#438)
It contains no exception handler, so we can just emit the special
@feat.00 symbol to indicate that it's trivially SafeSEH compatible.
SafeSEH only applies to x86 and not x86-64, hence its inclusion in the
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
commit 9429968b828de8775cfd7f139374888943f2186a
Merge: f08b2be 28d3b61
Author: Anthony Green <green@moxielogic.com>
Date: Sat Feb 10 23:23:33 2018 -0500
Merge pull request #403 from frida/fix/x86-sysv-pic-closure-regression
Fix x86 SysV closure in PIC mode
commit f08b2be6273f471863f1ea1afb0078a96fe73d74
Merge: c194448 482b37f
Author: Anthony Green <green@moxielogic.com>
Date: Sat Feb 10 23:21:49 2018 -0500
Merge pull request #405 from andreas-schwab/master
Fix passing struct by value on aarch64
commit 482b37f00467325e3389bab322525099860dd9aa
Author: Andreas Schwab <schwab@suse.de>
Date: Mon Sep 18 12:44:08 2017 +0200
Fix passing struct by value on aarch64
This fixes the ctypes test in the python testsuite.
commit 28d3b61bdd8b9fe786cb431165f2fb95f4e275d3
Author: Ole André Vadla Ravnås <oleavr@gmail.com>
Date: Sat Jan 20 23:56:17 2018 +0100
Fix x86 SysV closure in PIC mode
The assembly single-line comments swallowed up the remaining assembly
code of the macros due to lack of line-endings.
This is a regression introduced in b7f6d7a.
commit c194448ef08b4c0183c68dda95a4b8b9cfc47985
Author: Anthony Green <green@moxielogic.com>
Date: Wed Jan 10 09:38:15 2018 -0500
adjust env usage in travis
commit 5314b1067145d30acdc5bba3bebb788e8acfdaae
Author: Anthony Green <green@moxielogic.com>
Date: Wed Jan 10 07:22:51 2018 -0500
test static lib
commit bec6135dff061a35065efc106f920940a82c28ee
Merge: f6ecf10 d15581c
Author: Anthony Green <green@moxielogic.com>
Date: Wed Jan 10 07:20:04 2018 -0500
Merge pull request #393 from thejunkjon/master
Linker error "recompile with -fPIC" for x86_64
commit f6ecf10ca021e94d496c75cc43c417161edf28b3
Merge: c50ba18 746dbe3
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jan 5 16:51:44 2018 -0500
Merge pull request #401 from wzssyqa/jr-r6
mips/ffi.c: fix encoding for jr on r6
commit 746dbe3a6a79a41931c03b51df2972be4d5e5028
Author: YunQiang Su <wzssyqa@gmail.com>
Date: Wed Jan 3 10:07:41 2018 +0800
mips/ffi.c: fix encoding for jr on r6
mips/ffi.c: instruction jr has a different encoding for r6
commit c50ba182f43537e29dd92cfd9b2fa7a30549a06e
Merge: 54cb3e2 af6949b
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 1 15:18:46 2018 -0500
Merge pull request #398 from emaste/master
Enable symbol versioning when ld is LLVM's lld
commit 54cb3e2345ee8e2483d4705a9fb2967b6e5a9bd1
Merge: 716bfd8 94c102a
Author: Anthony Green <green@moxielogic.com>
Date: Sun Dec 31 07:46:05 2017 -0500
Merge pull request #396 from wzssyqa/master
mips/n32.S: disable .set mips4 on mips r6
commit af6949b7af98404729e04227165d0e32ce550ce8
Author: Ed Maste <emaste@freebsd.org>
Date: Sun Dec 17 23:08:12 2017 -0500
Enable symbol versioning when ld is LLVM's lld
Fixes #397
commit 94c102aa69b04337f63498e0e6551fcdce549ae5
Author: YunQiang Su <wzssyqa@gmail.com>
Date: Sun Dec 10 14:25:01 2017 +0800
Not set mips on mips r6
MIPS release changed encodes of some instructions, include ll/sc etc.
if .set mips4 on mips r6, as will generate some wrong encode of some instructions.
commit d15581c6969657c79afcff4865bdc8f5ff23a2f7
Author: jon <thejunkjon@gmail.com>
Date: Fri Dec 1 00:34:30 2017 -0800
Updating calls to ffi_closure_unix64_inner and ffi_closure_win64_inner to use PLT. Without this fix, statically linking libffi causes the linker error i.e. 'requires dynamic R_X86_64_PC32 reloc against ffi_closure_unix64_inner which may overflow at runtime; recompile with -fPIC)'
commit 716bfd83177689e2244c4707bd513003cff92c68
Merge: 4fdbb05 cd5e9f8
Author: Anthony Green <green@moxielogic.com>
Date: Sun Nov 5 09:02:37 2017 -0500
Merge pull request #387 from trofi/master
Makefile.am: add 'src/s390/internal.h' to source tarball
commit cd5e9f8b87cc387d3ffef4db81ee6af200a84183
Author: Sergei Trofimovich <slyfox@gentoo.org>
Date: Sun Nov 5 13:56:42 2017 +0000
Makefile.am: add 'src/s390/internal.h' to source tarball
commit 2f530de168e0253ac06e044c832132c496e8788b
("s390: Reorganize assembly") introduced new header
(similar to other arches) but did not add it to source
tarball.
As a result build from 'make dist' tarballs failed as:
```
../src/s390/ffi.c:34:10: fatal error: internal.h: No such file or directory
#include "internal.h"
^~~~~~~~~~~~
```
To fix it the change adds file to 'Makefile.am'.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
commit 4fdbb0578e921a9da146c2b040061a3a39fe4fda
Merge: b302bc3 2bfcd29
Author: Anthony Green <green@moxielogic.com>
Date: Fri Nov 3 07:05:31 2017 -0400
Merge pull request #320 from 0-wiz-0/master
Support NetBSD with mprotect.
commit b302bc3dfe47e3ea57de11610fced3170c06df28
Merge: 14eac93 1fb788a
Author: Anthony Green <green@moxielogic.com>
Date: Fri Nov 3 07:03:55 2017 -0400
Merge pull request #322 from compnerd/aarch64-base
aarch64: fix index base register for AArch64
commit 14eac93869eb109bea1daeb4f00609169d5488ff
Merge: ad15ae7 9fc9dc5
Author: Anthony Green <green@moxielogic.com>
Date: Fri Nov 3 06:49:03 2017 -0400
Merge pull request #384 from yan12125/fix-sgidefs-checking
The closure function (invoked as closure->fun in ffi_closure_XXX_inner)
will only populate the actual number of bytes for the true return type,
which may be a character. This leaves garbage on the stack when the
assembly closure function (i.e. ffi_closure_XXX) reads the return value
off of the stack into r0 as a 4-byte value. ffi_closure_XXX always
leaves room for at least 4 bytes here, so we can safely set them to 0.
Otherwise, if there is garbage in any of these bytes, these end up in r0
and in the returned value as well.
commit 2bfcd29955c02b67fa10a68cc4200f6838181e0f
Author: Joerg Sonnenberger <joerg@NetBSD.org>
Date: Mon Oct 2 15:34:03 2017 +0200
Support NetBSD with mprotect.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
commit 9f1f8741b2ec0c8898ecff7b93005627b915dd02
Merge: dca078f 6cf0dea
Author: Tom Tromey <tom@tromey.com>
Date: Sun Oct 1 20:25:50 2017 -0600
Merge pull request #319 from angerman/patch-5
Adds `local.exp` to DISTCLEANFILES
commit 6cf0dea78a5a4584eda871e264043974d0453e53
Author: Moritz Angermann <moritz.angermann@gmail.com>
Date: Mon Oct 2 10:20:16 2017 +0800
Change CLEANFILES to DISTCLEANFILES
commit dca078f468ff696134195e85fed3f48260115651
Merge: 540258d bccba9a
Author: Tom Tromey <tom@tromey.com>
Date: Sun Oct 1 20:19:53 2017 -0600
Merge pull request #316 from angerman/patch-2
Add `configure.host` and `libtool-version` to the `EXTRA_DIST` files
commit 540258d13e1d427254cbeddacdd2bb1ab2c307d1
Merge: 93d8e7d 4c6aa78
Author: Tom Tromey <tom@tromey.com>
Date: Sun Oct 1 20:17:02 2017 -0600
Merge pull request #317 from angerman/patch-3
Add src/x86/asmnames.h to noinst_HEADERS
commit bccba9a34e8ba0fe671c4b94671fea2efe181b01
Merge: a1e6ccb 59d65d7
Author: Moritz Angermann <moritz.angermann@gmail.com>
Date: Sun Oct 1 12:48:17 2017 +0800
Merged
commit 6b6df1a7bb377651a07663879bd4162f0059dc5c
Author: Moritz Angermann <moritz.angermann@gmail.com>
Date: Sun Oct 1 12:37:53 2017 +0800
Adds `local.exp` to CLEANFILES
With #315, #316, #317, #318 and this patch, running
```
AM_DISTCHECK_CONFIGURE_FLAGS=--disable-docs make distcheck
```
should complete successfully.
commit 59d65d74ae72bd24fbf78f045592c5168f0b0784
Author: Moritz Angermann <moritz.angermann@gmail.com>
Date: Sun Oct 1 12:23:31 2017 +0800
Include `libtool-version` in the EXTRA_DIST files.
commit 4c6aa78d75f0c426a23c27af74155aa2535021d6
Author: Moritz Angermann <moritz.angermann@gmail.com>
Date: Sun Oct 1 11:32:41 2017 +0800
Add src/x86/asmnames.h to noinst_HEADERS
In eaa59755fcbb692a8cb763c7f9f24a350aadbd30, macros from `unix64.S` were extracted into `asmnames.h` to be used with `win64.S` as well. As such these are required by `unix64.S`, which fails to build without them.
commit a1e6ccb67e7d7f2b235016aa6c6733c5743945a1
Author: Moritz Angermann <moritz.angermann@gmail.com>
Date: Sun Oct 1 11:28:40 2017 +0800
Add `configure.host` to the `EXTRA_DIST` files
When running `make dist`, `configure.host` would not result in the distribution tarball, however `configure` would try to read it, and as such the tarball would not be buildable.
commit 93d8e7dd17b08ff195af3580584ccd5c2228202f
Author: Anthony Green <green@moxielogic.com>
Date: Wed Sep 27 21:51:34 2017 -0400
Fix #265
commit 02a5145abbae2e311d5aeeee606c5b5745a99b55
Merge: 10099d6 7d504f7
Author: Anthony Green <green@moxielogic.com>
Date: Wed Sep 27 21:43:03 2017 -0400
Merge pull request #263 from ksjogo/master
fix ios builds
commit 10099d6cad8418a10c1508235d1f458993ac51fe
Merge: c8f1aa3 ed84883
Author: Anthony Green <green@moxielogic.com>
Date: Wed Sep 27 20:54:09 2017 -0400
Merge pull request #271 from frida/fix/qnx-cache-flushing
arm: Fix cache flushing on QNX
commit c8f1aa3d0459c6f1be6884b324b4d2d785ecfd78
Merge: db4dad9 50e408c
Author: Anthony Green <green@moxielogic.com>
Date: Wed Sep 27 20:53:50 2017 -0400
Merge pull request #307 from zw3rk/master
Support -ios triple
commit db4dad97e2589ca700d1b5b54eeb332137a152ad
Merge: 8a16f2f 9c12209
Author: Anthony Green <green@moxielogic.com>
Date: Wed Sep 27 20:47:08 2017 -0400
Merge pull request #312 from fjricci/fix_ub
Fix misaligned memory access in ffi_call_int
commit 8a16f2f47fdb6a985d201baa02a1d226562af4d8
Merge: b230910 0ff9419
Author: Anthony Green <green@moxielogic.com>
Date: Wed Sep 27 20:45:15 2017 -0400
Merge pull request #308 from trex58/master
This patch enables FFI Go Closure on AIX.
commit a78da73956e4b0af4556f1c0a444bd0f065c3965
Author: Jean-Luc Jumpertz <jean-luc@celedev.eu>
Date: Mon Sep 4 15:55:34 2017 +0200
Fix macOS build target in Xcode project.
- Add missing files for desktop platforms in generate-darwin-source-and-headers.py, and in the Xcode project.
clang is experimental on powerpc-darwin, but the changes are appropriate to cctools as as well.
Use the 'official' simplified cmpwi insn, rather than the implied one accepted by cctools.
Do not re-use a set value.
commit 92810b4bc101fccead2234b7385d4fa5e7a3e56a
Author: Iain Sandoe <iain@codesourcery.com>
Date: Thu May 26 08:56:51 2016 +0100
[Darwin-x86, build] Fix up label prefixes, remove .purgem
Darwin uses a label prefix of _.
cctools assembler will not accept .purgem as a directive.
commit 30b3440cfd378dc67111b1380f2654334d048659
Author: Iain Sandoe <iain@codesourcery.com>
Date: Thu May 26 08:55:04 2016 +0100
[Darwin, configure] Allow configure to work for <arch>-*-darwin.
The exec configury is appropriate for all current targets (including using older tools on them).
commit 02089a1b5cf3aa1535172c62add454a2e9375066
Merge: 5d0365c c884551
Author: Tom Tromey <tom@tromey.com>
Date: Mon May 23 09:58:51 2016 -0600
Merge pull request #237 from tschwinge/libffi_feature_test
Simplify/fix libffi_feature_test
commit 5d0365c605c472f40d1195cf7ba04ae08e360cb7
Merge: 584a140 74b3f52
Author: Richard Henderson <rth@twiddle.net>
Date: Thu May 19 09:35:38 2016 -0700
Merge pull request #251 from berkerpeksag/delete-test-define
Remove unused FFI_CLOSURE_TEST
commit 74b3f5201432c37e40e24386fa193c838596cec8
Author: Berker Peksag <berker.peksag@gmail.com>
Date: Thu May 19 18:05:36 2016 +0300
Remove unused FFI_CLOSURE_TEST
It was here since the first commit c6dddbd (warning: huge diff) and
it wasn't defined by the configure script. It was probably used
manually during development.
commit 584a140e7558dff6e4ed4009f39d11dd5e3db0ae
Merge: c617754 b3496de
Author: Tom Tromey <tom@tromey.com>
Date: Thu May 19 06:36:38 2016 -0600
Merge pull request #248 from berkerpeksag/patch-1
Delete empty env in .travis.yml
commit b3496dedbbad6c1f4e5bf4cc100e76b86f3c801e
Author: Berker Peksag <berker.peksag@gmail.com>
Date: Thu May 19 10:53:07 2016 +0300
Delete empty env in .travis.yml
commit c61775497e7bdfc892d865c2eb15415d2da7493b
Merge: 9edaa69 33d9a31
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 18 11:10:33 2016 -0700
Merge pull request #247 from rth7680/symver
Add parent to symbol version LIBFFI_BASE_7.1
commit 33d9a31d34cfba63e1294978114be1bddd2de3fd
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 18 11:01:55 2016 -0700
Add parent to symbol version LIBFFI_BASE_7.1
commit 9edaa695c54daaf58d62e84032d30d33b7484fa8
Merge: 0969a1c 8a0a4e2
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 18 10:56:19 2016 -0700
Merge pull request #230 from rth7680/symver
Use ELF symbol versioning
commit 0969a1c1b339f845202fa7507b70d193220ceb01
Merge: 571b1ca 4a677a4
Author: Tom Tromey <tom@tromey.com>
Date: Wed May 18 10:09:28 2016 -0600
Merge pull request #232 from berkerpeksag/signcompare
Fix -Wsign-compare warnings in x86/ffi64.c
commit 571b1ca6277dbafc1f340a59ea1c5ee4ddb11c94
Merge: 069d2e4 1e82e1c
Author: Tom Tromey <tom@tromey.com>
Date: Wed May 18 10:08:59 2016 -0600
Merge pull request #233 from berkerpeksag/mremap
Define _GNU_SOURCE on Linux for mremap()
commit 069d2e4e16c5570adec9249d642f2a2ae0ffaa1c
Merge: a44a5b8 1b4f5ee
Author: Tom Tromey <tom@tromey.com>
Date: Wed May 18 10:07:31 2016 -0600
Merge pull request #246 from berkerpeksag/update-github-links
Update project URLs to use libffi/libffi
commit 1b4f5ee6a4989d7eda7766c5864908c389586c6f
Author: Berker Peksag <berker.peksag@gmail.com>
Date: Wed May 18 11:12:58 2016 +0300
Update project URLs to use libffi/libffi
commit 1e82e1cda43dacd8b6ab2d9ac4db33523d86f5dc
Author: Berker Peksag <berker.peksag@gmail.com>
Date: Mon Mar 7 18:38:10 2016 +0200
Define _GNU_SOURCE on Linux for mremap()
This was committed to CPython's libffi copy in
https://bugs.python.org/issue10309
mremap() documentation says _GNU_SOURCE needs to
be defined in order to use mremap(): see the
synopsis section at http://linux.die.net/man/2/mremap
Original commit: https://hg.python.org/cpython/rev/9986fff720a2
Original patch was written by Hallvard B Furuseth.
commit 4a677a425c18eda4bc5357b2485da57f133f908d
Author: Berker Peksag <berker.peksag@gmail.com>
Date: Sat Mar 5 09:58:38 2016 +0200
Fix -Wsign-compare warnings in x86/ffi64.c
This was originally reported on the Python tracker:
httpa://bugs.python.org/issue23958
The original patch was written by Steve R. Hastings.
I've updated it to current master of libffi.
commit a44a5b863aaae98041e11aa3256907bf912ee4d6
Merge: 9443eae 2627fc9
Author: Tom Tromey <tom@tromey.com>
Date: Tue May 17 17:07:27 2016 -0600
Merge pull request #234 from berkerpeksag/disable-docs
Add a note about the --disable-docs switch
commit 9443eaeda867cfdeae92b10bee3cc0506892a4c5
Merge: 14be9a1 e169ba2
Author: Tom Tromey <tom@tromey.com>
Date: Tue May 17 17:04:50 2016 -0600
Merge pull request #242 from somasis/master
Fix usage on musl libc
commit 8a0a4e25ef99f4ec98761f2fc075c2e8409f171b
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 4 07:33:41 2016 -1000
Update symbol versioning for ffi_get_struct_offsets
Given that the original symbol versioning patch has shipped
with gcc-6, it would be kind to keep that as a valid base ABI
and make subsequent changes to version 7.1.
commit c02c3414440e816aa13a2fe8446484173d3edb0e
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Mar 3 13:51:44 2016 -0800
Use ELF symbol versioning
At the same time, we must bump the (major) ABI version. This needed to be
done anyway due to ABI breakage in the AArch64 port (see 12cf89ee and the
corresponding GCC PR70024).
commit 14be9a1d0713deb97edb91fe9800afe971a001d5
Merge: 1cea273 b50eabf
Author: Richard Henderson <rth@twiddle.net>
Date: Wed May 4 06:45:05 2016 -1000
Merge pull request #245 from rth7680/tromey-ffi-prep-cif-core-is-private
A rebase of #219
commit b50eabf48927ccaf0184c6224992bbb0a125e969
Author: Tom Tromey <tom@tromey.com>
Date: Mon Feb 22 16:00:51 2016 -0700
minor comment cleanup
This patch minor cleans up ffi.h.in comments in a minor way. It fixes
some typos and capitalizations, adds some periods, and reformats some
comments to a more GNU-ish style. It also fixes up some stale
documentation.
commit 6c07077a61fd0dc5ac11759ea1b4345acf486f3c
Author: Tom Tromey <tom@tromey.com>
Date: Sun Feb 21 20:08:21 2016 -0700
Change ffi.h.in so that braces match
This is a tiny refactoring to make it so brace-matching works in
Emacs.
commit 2fbc0369b89a7e6b089e6384b98dba904ec1cf8b
Author: Tom Tromey <tom@tromey.com>
Date: Thu Nov 19 16:38:35 2015 -0700
move ffi_prep_cif_core to ffi_common.h
commit 1cea273758ad862bdc2862af864e4ef5b42f31ae
Merge: 48bfae1 6aafb56
Author: Tom Tromey <tom@tromey.com>
Date: Tue May 3 08:23:51 2016 -0600
Merge pull request #231 from berkerpeksag/simplfy-oserror
Simplify error handling in mkdir_p()
commit 48bfae1f37551b7fc894e6a0ea3b98968d2b5c9f
Merge: 6d87110 d76975d
Author: Richard Henderson <rth@twiddle.net>
Date: Mon May 2 20:58:57 2016 -1000
Merge pull request #236 from andreas-schwab/master
Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32
commit 6d8711057bc3a3befa37eed6765231ea5d244078
Merge: 9de24a3 e5843a3
Author: Richard Henderson <rth@twiddle.net>
Date: Sun May 1 11:02:40 2016 -1000
Merge pull request #241 from rth7680/fix-win64
Fix win64 abi calling from unix64
commit e169ba2b83c780058fe626856cfdb5903a85cb97
Author: Kylie McClain <somasis@exherbo.org>
Date: Fri Apr 29 21:04:07 2016 -0400
Fix usage on musl libc
A gcc compiled on musl does not define __gnu_linux__, it defines __linux__.
Only on glibc does __gnu_linux__ get defined, but both define __linux__, so
we should check for that instead.
With this patch, libffi works perfectly, and passes its testsuite entirely
on musl libc systems.
commit e5843a3a09976f9d8fa77671e9d6c188c890199d
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Apr 15 16:10:08 2016 -0700
x86: Fix calling convention for ffi_closure_win64_inner
Also enable testing for the cross-abi calls.
commit d06751979bf0e4c9caabf0bca531d74de8cb9152
Author: Richard Henderson <rth@twiddle.net>
Date: Mon Mar 7 12:14:22 2016 -0500
x86: Copy fix for clang .org from unix64.S
Clang doesn't understand .org with symbolic operands.
commit bfab429ee479723cc65831a7e4327e2866036420
Author: Jakub Kaszycki <kaszycki@mail.com>
Date: Fri Apr 1 21:42:41 2016 +0200
Update README with a new port
This is in fact not a NEW port. Apple Mac devices are generally x86-64 now, x86 rarely. If GCC exists for this CPU, it means that libffi has been built too.
Fix floating point number comparisons in testsuite/libffi.call/float[123].c.
Rewrite the checks for approximate equality of floating point return
values to be in the form "fabs(a - b) < EPS" instead of just
"a - b < EPS".
commit e029c70fa7da7a489157b2a2a88349aaffb051de
Author: Adam <adkapx@gmail.com>
Date: Thu Nov 13 15:08:16 2014 -0500
Update i386 & armv7 minimum iOS version to 7.0
iOS 5 (and any below 7.1) is deprecated. Apple doesn't distribute the supporting libraries for this platform anymore as of Xcode 6, so it causes a linker error.
commit 57f52484573613e2def21171184f50bd72209cac
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Nov 13 12:42:54 2014 +0100
configure: Split out configure.host
Split out the host case statement to a separate file, so that
we don't have to regenerate configure.in for changes therein.
commit f8632815a6515a6709802ad23909585664ba1b9d
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Nov 13 12:32:35 2014 +0100
powerpc: Delete patch output
Clearly added by mistake.
commit 4aa702a0e0ffc9b8a672af380103f607d339a822
Merge: 20562ac 8d5debc
Author: Anthony Green <green@moxielogic.com>
Date: Wed Nov 12 08:08:57 2014 -0500
Merge branch 'rth7680-go-closure'
commit 8d5debc7904aa5c4f1fbf5d5b26450ec5a5b43c6
Author: Anthony Green <green@moxielogic.com>
Date: Wed Nov 12 08:04:51 2014 -0500
Update in preparation for next release
commit 56735e05fed77a3920a8cac262666c9eb0e75b66
Merge: 20562ac 0e303c0
Author: Richard Henderson <rth@twiddle.net>
Date: Wed Nov 12 07:11:53 2014 -0500
Merge branch 'go-closure' of https://github.com/rth7680/libffi into rth7680-go-closure
Conflicts:
src/aarch64/ffi.c
commit 20562ac0427c3578250d04c6e34fb0127d4551cf
Author: Anthony Green <green@moxielogic.com>
Date: Wed Nov 12 07:00:59 2014 -0500
Fix for AArch64. Release as 3.2.1.
commit 0e303c065779afb42cfdb2ea20c0e1a557dc16f0
Author: Richard Henderson <rth@twiddle.net>
Date: Wed Nov 12 03:58:58 2014 -0800
x86: Work around clang bugs
http://llvm.org/bugs/show_bug.cgi?21500
http://llvm.org/bugs/show_bug.cgi?21501
http://llvm.org/bugs/show_bug.cgi?21515
commit 6eec410f1512d0584276db5f4b83711330e830d7
Author: Richard Henderson <rth@twiddle.net>
Date: Sun Oct 26 15:29:04 2014 -0700
sparc: Re-add abi compliant structure support
The original code, removed in the "rewrite" patch, was incorrect for
large structures, and required dynamic allocation of a trampoline on
every ffi_call.
Instead, allocate a 4k entry table of all possible structure returns.
The table is 80k, but is read-only and dynamically paged, which ought
to be better than allocating the trampoline.
This is difficult to test with gcc. One can only use -O0 at present.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63668.
commit 92022496ef7a9439f48a2ef11e460c300ac863d7
Author: Richard Henderson <rth@twiddle.net>
Date: Sun Oct 26 14:48:28 2014 -0700
sparc: Add support for Go closures
commit ad89c2d9e93d5a713ae4113567b4ca6c4fbbf17c
Author: Richard Henderson <rth@twiddle.net>
Date: Sun Oct 26 13:16:03 2014 -0700
sparc: Add support for complex types
commit 20da5b41324de524ea3ee1f84f402828b7c332dc
Author: Richard Henderson <rth@twiddle.net>
Date: Sat Oct 25 16:24:41 2014 -0700
sparc: Handle more cases of structure return directly
commit 0686c2e71c8e094cf003f199e3f578bcdede43ba
Author: Richard Henderson <rth@twiddle.net>
Date: Sat Oct 25 14:52:45 2014 -0700
sparc: Preprocess float point struct return
We can eliminate recursion and speed structure return
by flattening a nested structure tree into a bitmask.
commit 2b27890ba77db6a23d37fc70897109e4b2803c2d
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 24 16:10:48 2014 -0700
sparc: Rewrite everything
It's impossible to call between v8 and v9 ABIs, because of the stack bias
in the v9 ABI. So let's not pretend it's just not implemented yet. Split
the v9 code out to a separate file.
The register windows prevent ffi_call from setting up the entire stack
frame the assembly, but we needn't make an indirect call back to prep_args.
commit 5d7b54450582f31d0d5d3ecca7f330b70446f195
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 24 11:45:53 2014 -0700
sparc: Tidy up symbols
Assembly to use local labels, .type annotation, hidden annotation.
I do retain the _prefix for the symbols, but given that it wasn't
done consistently across all symbols, I doubt it's actually needed.
commit fd4f7cc0cabae66a91e40f8645791740b9416bc1
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 24 11:11:53 2014 -0700
sparc: Eliminate long double ifdefs
commit ab83cbb90b280195e636976098d3674f5ffc1d0a
Author: Richard Henderson <rth@twiddle.net>
Date: Wed Oct 29 14:38:42 2014 -0400
arm: Add support for Go closures
commit 6fa617dabc3d99e19d47ac9bc4127c56e3163008
Author: Richard Henderson <rth@twiddle.net>
Date: Tue Oct 21 11:27:11 2014 -0400
arm: Add argument space for the hidden struct return pointer
This should have been failing all along, but it's only
exposed by the complex_int test case.
commit a529bec27b64ab846ab2643ecbeb22e01f35c7dc
Author: Richard Henderson <rth@twiddle.net>
Date: Tue Oct 21 11:26:59 2014 -0400
arm: Add support for complex types
commit 5e88ebe62717b8e1e2f8d96c10f78a7134caa765
Author: Richard Henderson <rth@twiddle.net>
Date: Mon Oct 20 15:10:43 2014 -0400
arm: Remove internal FFI_TYPE constants
These have been replaced by the contents of internal.h.
commit a4b785ea695e929b91d64e1e8b514411ae8bafe8
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 02:07:32 2014 -0400
arm: Rewrite ffi_closure
Move the push of the argument registers into ffi_closure_SYSV,
reducing the size of the trampoline.
commit e7f15f60e86ad8931b2c4a516945d0b76b4bda20
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 01:27:16 2014 -0400
arm: Rewrite ffi_call
Use the trick to allocate the stack frame for ffi_call_SYSV
within ffi_call itself.
commit a74a3aaddbcc730d9aa0a4787f136c9cc19b82b3
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 01:21:22 2014 -0400
arm: Rewrite vfp_type_p
Do not modify the ffi_type. Rearrange the tests so that we
quickly eliminate structures that cannot match. Return an
encoded value of element count and base type.
commit 0d39b4bb692b1a8e4f3354badcd9e123f8276bd4
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 01:02:52 2014 -0400
arm: Deref ffi_put_arg arguments
commit 57b24fb3f5471262ce57e1a912774d6e7de5ada7
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 00:53:21 2014 -0400
arm: Deref ffi_align argument
commit c129bea82a25c9b0f3af3bf48c35c55257092f87
Author: Richard Henderson <rth@twiddle.net>
Date: Wed Oct 15 17:28:53 2014 -0400
arm: Reindent arm/ffi.c
commit 9761b7bb70b4c47dc11dc74830964a0b3b3176d3
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 21:26:52 2014 -0700
alpha: Add support for Go closures
commit f41bec3b576aa5ff8915b1188446c2dc086dfe64
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 20:46:48 2014 -0700
alpha: Add support for complex types
commit 5f917371afcb4d3363fd33b547844c47264f6d4e
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 13:47:26 2014 -0700
alpha: Clean up conversion of float values
Don't use "real" conversion to double, lest we raise
exceptions when passing signalling nans.
commit 32a26b75ba92665fa093b539318e83d916e3effb
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 12:33:53 2014 -0700
alpha: Reorganize cif flags
Unties the backend from changes to FFI_TYPE_* constants, and allows
compilation to succeed after the addition of FFI_TYPE_COMPLEX.
Delete the hand-written unwind info.
commit c6352b664c31835b9527d747f8a29b4754cabb0e
Author: Richard Henderson <rth@redhat.com>
Date: Thu Oct 23 00:26:14 2014 -0400
aarch64: Add support for Go closures
commit 0e41c73b092064e986d484270a13046479d6bda3
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 23:48:12 2014 -0400
aarch64: Move x8 out of call_context
Reduces stack size. It was only used by the closure, and there
are available argument registers.
commit a992f8789b5202ca180e67b16b47ee834160665c
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 22:58:09 2014 -0400
aarch64: Add support for complex types
commit 658b2b56001e293848ea22b70068bd7f8daa7205
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 22:36:07 2014 -0400
aarch64: Remove aarch64_flags
This field was useless from the start, since the normal flags
field is available for backend use.
commit 4a3cbcaa4f1d3834e0b74c9a841c3f51c5e0454c
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 22:32:13 2014 -0400
aarch64: Unify scalar fp and hfa handling
Since an HFA of a single element is exactly the same as scalar,
this tidies things up a bit.
commit 12cf89ee04dc01650f71bc38ce414c953c83199a
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 21:53:30 2014 -0400
aarch64: Move return value handling into ffi_closure_SYSV
As with the change to ffi_call_SYSV, this avoids copying data
into a temporary buffer.
commit 4fe1aea1211aaf228c2db867b8ac6f1620de72d4
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 17:06:19 2014 -0400
aarch64: Move return value handling into ffi_call_SYSV
This lets us pass return data directly to the caller of ffi_call
in most cases, rather than storing it into temporary storage first.
commit 325471ea6a7bf954943485458a1bd391635dfaa8
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 13:58:59 2014 -0400
aarch64: Merge prep_args with ffi_call
Use the trick to allocate the stack frame for ffi_call_SYSV
within ffi_call itself.
commit 8c8161cb623585d5d0c783b9d494b9b74ada6ced
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 12:52:07 2014 -0400
aarch64: Tidy up abi manipulation
Avoid false abstraction, like get_x_addr. Avoid recomputing data
about the type being manipulated. Use NEON insns for HFA manipulation.
Note that some of the inline assembly will go away in a subsequent patch.
commit b55e03665ddf2423df9baee0d3172892ba781c26
Author: Richard Henderson <rth@redhat.com>
Date: Wed Oct 22 12:33:59 2014 -0400
aarch64: Treat void return as not passed in registers
This lets us do less post-processing when there's no return value.
commit 2e32f9bf6ffa6782b70fafe96bdf21c5aa44f534
Author: Richard Henderson <rth@redhat.com>
Date: Tue Oct 21 22:49:05 2014 -0400
aarch64: Use correct return registers
There are fewer return registers than argument registers.
commit 95a04af134431ccc8230aca1641541a5e8fcbdc9
Author: Richard Henderson <rth@redhat.com>
Date: Tue Oct 21 22:41:07 2014 -0400
aarch64: Reduce the size of register_context
We don't need to store 32 general and vector registers.
Only 8 of each are used for parameter passing.
commit 77c4cddca6aeb6e545e21f235e29323e05f5a3a3
Author: Richard Henderson <rth@redhat.com>
Date: Tue Oct 21 13:30:40 2014 -0400
aarch64: Simplify AARCH64_STACK_ALIGN
The iOS abi doesn't require padding between arguments, but
that's not what AARCH64_STACK_ALIGN meant. The hardware will
in fact trap if the SP register is not 16 byte aligned.
commit b5f147d84761dc673ffe01d6af82bcde4ea47928
Author: Richard Henderson <rth@redhat.com>
Date: Tue Oct 21 13:27:57 2014 -0400
aarch64: Always distinguish LONGDOUBLE
Avoid if-deffery by forcing FFI_TYPE_LONGDOUBLE different
from FFI_TYPE_DOUBLE. This will simply be unused on hosts
that define them identically.
commit 38b54b9c180af13a3371e70a151a1a97e105b03f
Author: Richard Henderson <rth@redhat.com>
Date: Tue Oct 21 13:17:39 2014 -0400
aarch64: Improve is_hfa
The set of functions get_homogeneous_type, element_count, and is_hfa
are all intertwined and recompute data. Return a compound quantity
from is_hfa that contains all the data and avoids the recomputation.
commit 18b74ce54afab45fcf2a7d4eb86bb2ce9db8cec8
Author: Richard Henderson <rth@redhat.com>
Date: Tue Oct 21 13:00:34 2014 -0400
aarch64: Fix non-apple compilation
commit 2650f47fe8388f3281ec00e2d1e3bc777c1d3544
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Nov 6 10:57:04 2014 -0800
x86: Use win32 name mangling for fastcall functions
commit f8c64e2486c956109bf5255a0c0a85f24cc86c72
Author: Richard Henderson <rth@twiddle.net>
Date: Wed Nov 5 17:04:29 2014 +0100
x86: Add support for Go closures
commit 198f469e91076f84ab6ac38055ad12a5490101cd
Author: Richard Henderson <rth@twiddle.net>
Date: Wed Nov 5 16:34:41 2014 +0100
x86: Add support for Complex
commit b21ec1ce783f09335c0e6c6f96ccc7e89da5a1b4
Author: Richard Henderson <rth@twiddle.net>
Date: Wed Nov 5 10:15:25 2014 +0100
x86: Rewrite closures
Move everything into sysv.S, removing win32.S and freebsd.S.
Handle all abis with a single ffi_closure_inner function.
Move complexity of the raw THISCALL trampoline into assembly
instead of the trampoline itself.
Only push the context for the REGISTER abi; let the rest
receive it in a register.
commit b9ac94f3af9b1ca1853850911b7d3bc058296c71
Author: Richard Henderson <rth@twiddle.net>
Date: Sat Nov 1 15:10:34 2014 -0700
x86: Rewrite ffi_call
Decouple the assembly from FFI_TYPE_*. Merge prep_args with ffi_call,
passing the frame and the stack to the assembly.
Note that this patch isn't really standalone, as this breaks closures.
commit 159d3788eb52b89ed6bc5dd6ebb85c02cd150232
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 31 12:07:02 2014 -0700
x86: Convert to gas generated unwind info
commit e7b0056d60f29675072454a575eed98053fc63d6
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Oct 30 13:57:39 2014 -0700
x86: Force FFI_TYPE_LONGDOUBLE different from FFI_TYPE_DOUBLE
There are few abis that set double = long double. Eliminate the
conditional compilation and let this code simply be unused there.
commit 4b2fad8fd583f1d9c36db0044c4d46316207aa49
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Oct 30 12:41:31 2014 -0700
x86: Remove some conditional compilation
Removal of ifdefs made possible to due to ffi_abi unification.
commit ef76205647bca77796882d31f6ab5e889f461f07
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Oct 30 12:13:31 2014 -0700
x86: Tidy ffi_abi
The x86_64 unix port only handles one ABI; don't define all of the
other symbols. The UNIX64 symbol retains the same value.
The i386 ports ought to have the same symbols, even if we can't yet
unify the values without incrementing the libffi soname.
commit 7cf841324f3d15c46833e0f2ddf8a98c4b24711e
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Nov 7 06:56:55 2014 -0800
testsuite: Add two dg-do run markers
Caught by clang warning about unused -L parameter.
commit fc501750f41e2ee7f4268f490f590ce97a25a818
Author: Richard Henderson <rth@twiddle.net>
Date: Wed Nov 5 16:33:44 2014 +0100
testsuite: Fix return_complex2 vs excessive precision
Use the previously computed rc2 to validate, rather than
recomputing a floating point result with excess precision.
commit 610c90bf7131de70318dc981a529a63ae36981b8
Author: Richard Henderson <rth@twiddle.net>
Date: Tue Oct 28 11:21:50 2014 -0700
x86_64: Add support for complex types
commit 32c56831636a489a1c5084e42ffbd935902b1033
Author: Richard Henderson <rth@twiddle.net>
Date: Tue Oct 28 11:17:35 2014 -0700
x86_64: Decouple return types from FFI_TYPE constants
We can better support structure returns, and as prep for
complex types.
commit 2e9dc1655600eb8928ebab13fa246187b6205109
Author: Richard Henderson <rth@twiddle.net>
Date: Mon Oct 27 13:41:39 2014 -0700
x86_64: Fixups for x32
commit ebd82769de5fc909ec9678aafca674ece394d173
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Oct 23 23:57:06 2014 -0700
win64: Remove support from ffi.c
commit 99db4d42acc7ee6d2ad206848be38083d7b5e094
Author: Richard Henderson <rth@twiddle.net>
Date: Thu Oct 23 14:12:18 2014 -0700
win64: Rewrite
It's way too different from the 32-bit ABIs with which it is
currently associated. As seen from all of the existing XFAILs.
commit 6b62fb4a26d7363548a92f1a156562cfa648726e
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 11:11:58 2014 -0700
x86-64: Support go closures
Dumps all of the hand-coded unwind info for gas generated. Move jump
table data into .rodata. Adjust ffi_call_unix64 to load the static
chain. Split out sse portions of ffi_closure_unix64 to
ffi_closure_unix64_sse rather than test cif->flags at runtime.
commit 89bbde8b4e802625bdbf830ea14e938beea79835
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 10:55:11 2014 -0700
Add ffi_cfi.h
Have one copy of the HAVE_AS_CFI_PSEUDO_OP code
to share between all backends.
commit e951d64c085267a30036907d02f94a70dee4c9d9
Author: Richard Henderson <rth@twiddle.net>
Date: Fri Oct 17 10:12:25 2014 -0700
Add entry points for interacting with Go
A "ffi_go_closure" is intended to be compatible with the
function descriptors used by Go, and ffi_call_go sets up
the static chain parameter for calling a Go function.
The entry points are disabled when a backend has not been
updated, much like we do for "normal" closures.
commit a0bdc5250cd36f1d2578358e33299fd2408091ac
Author: Anthony Green <green@moxielogic.com>
Date: Tue Nov 11 09:43:01 2014 -0500
Fix typo
commit 67c0c0705318d2e567fd48e680d63dca3619a235
Author: Anthony Green <green@moxielogic.com>
Date: Tue Nov 11 07:30:49 2014 -0500
Final 3.2 changes
commit ee826b933bbdeb68ee81876ffb508c3908eed371
Author: Anthony Green <green@moxielogic.com>
Date: Tue Nov 11 07:29:26 2014 -0500
Final 3.2 changes
commit c81a705d53be97899d314953987936213244b1ba
Author: Anthony Green <green@moxielogic.com>
Date: Tue Nov 4 13:29:58 2014 -0500
Mention OpenRISC
commit 6a17ad540d7ddb7a812687f4380bd0ef2d2865bb
Merge: 990eb9d 0f316ab
Author: Anthony Green <green@moxielogic.com>
Date: Sun Sep 28 00:54:00 2014 -0400
Merge pull request #134 from s-macke/openrisc
Add OpenRISC support
commit 990eb9d4c244324771a7d878a168bb8eba1850c0
Author: Anthony Green <green@moxielogic.com>
Date: Sun Sep 28 00:50:29 2014 -0400
Only run the complex type tests on supported platforms.
commit 0f316ab7c11b8315a838a6ae4645d36ff2c46f4c
Author: Sebastian Macke <sebastian@macke.de>
Date: Sat Sep 27 00:19:15 2014 +0000
Add OpenRISC support
This patch adds support for the OpenRISC architecture.
(http://opencores.org/or1k/Main_Page)
This patch has been tested under Linux with QEMU-user emulation support.
- 32 Bit
- big endian
- delayed instructions
This is the only available configuration under Linux.
The description of the ABI can be found on the official website.
Is passes the testsuite except of the unwindtest_ffi_call.cc
testcase, which seems to be a problem of gcc and not libffi.
Some testcases of the gcc testsuite still fail.
Signed-off-by: Sebastian Macke <sebastian@macke.de>
Fix issue with builddir when calling configure with absolute path
commit fb25cd08ed5a87640b02f0feeb10a09b37cfddbe
Author: Ehsan Akhgari <ehsan@mozilla.com>
Date: Wed Jun 11 12:07:24 2014 -0400
Add support for building with clang-cl
commit 1cee07be4712411baa5eb8af22698bc8443a6d6e
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jun 12 06:30:59 2014 -0400
Remove compiler warning
commit ad0d1d239afc7ad09203847793dcc020856d1035
Author: Samuli Suominen <ssuominen@gentoo.org>
Date: Thu Jun 12 06:30:21 2014 -0400
Fix paths in libffi.pc.in
commit df31a85103b0cc232bbc340d7e782a3853c7fad5
Merge: 69289c1 360aa8c
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jun 6 08:24:35 2014 -0400
Merge pull request #122 from rvandermeulen/1014976
Don't make --enable-debug imply using the debug CRT in libffi
commit 360aa8ca1ead2fdaefa7b1c6f01ad001d8abae7e
Author: Mike Hommey <mh+mozilla@glandium.org>
Date: Mon Jun 2 09:21:10 2014 -0400
Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi.
commit 69289c10b0acb4b52c8b5df4cf738193c618db40
Author: Anthony Green <green@moxielogic.com>
Date: Sat May 31 08:54:08 2014 -0400
Prepare for libffi 3.1.1
commit 978c9540154d320525488db1b7049277122f736d
Author: Samuli Suominen <ssuominen@gentoo.org>
Date: Sat May 31 08:53:10 2014 -0400
Add missing GNU stack markings in win32.S
commit cbc5a3c0200aa6c2cf8d6798d69a21501557c83f
Author: Ryan Hill <rhill@gentoo.org>
Date: Sat May 31 08:26:34 2014 -0400
Fix typo
commit 9d8e3018ac3d0d338373bff7eefa9f006746f4ec
Author: Anthony Green <green@moxielogic.com>
Date: Sat May 24 23:28:42 2014 -0400
Update current version.
commit 18d56cca5a4ee95ad48b129100adf26231518ed0
Author: Anthony Green <green@moxielogic.com>
Date: Mon May 19 18:05:33 2014 -0400
Increment libtool version number
commit 629f1029c47e522e4331988f02f32c203a070e28
Merge: 0403f33 c1166d4
Author: Anthony Green <green@moxielogic.com>
Date: Mon May 19 18:04:28 2014 -0400
Merge pull request #120 from l0kod/tmpfile
Create temporary file with O_TMPFILE and O_CLOEXEC when available
commit c1166d4f653bf6d17ad8c265cf5e8da84e2e76dc
Author: Mickaël Salaün <mic@digikod.net>
Date: Mon May 12 19:44:08 2014 +0200
closures: Check for mkostemp(3)
commit 8daeed9570af72eb135c8ded460d2888f05b2e68
Author: Mickaël Salaün <mic@digikod.net>
Date: Sun May 11 22:54:58 2014 +0200
closures: Create temporary file with O_TMPFILE and O_CLOEXEC when available
The open_temp_exec_file_dir function can create a temporary file without
file system accessible link. If the O_TMPFILE flag is not defined (old
Linux kernel or libc) the behavior is unchanged.
The open_temp_exec_file_name function now need a new argument "flags"
(like O_CLOEXEC) used for temporary file creation.
The O_TMPFILE flag allow temporary file creation without race condition.
This feature/fix prevent another process to access the (future)
executable file from the file system.
The O_CLOEXEC flag automatically close the temporary file for any
execve. This avoid transmitting (executable) file descriptor to a child
process.
commit 0403f332b1f478696c30d3d8a0e2f6eef24aaf88
Author: Anthony Green <green@moxielogic.com>
Date: Mon May 19 09:41:32 2014 -0400
Update date. Annoucing 3.1 today.
commit 94ac0c168ee7b115409121d88b25a4979446c8da
Author: Anthony Green <green@moxielogic.com>
Date: Mon May 19 09:37:21 2014 -0400
Increment libtool library revision number
commit 57465744b6e1295d7202de5a7734df589518f1c8
Author: Anthony Green <green@moxielogic.com>
Date: Sun May 11 10:30:22 2014 -0400
Update to version 3.1
commit 0c2251a42df5108b6d9ebe5fe1cf83d0bcdf660e
Author: Anthony Green <green@moxielogic.com>
Date: Sun May 11 10:22:30 2014 -0400
Support versions of git older than 1.8.5
commit 70c303cb88e23aaee91c87c56b108c50ab4f3c2f
Author: Anthony Green <green@moxielogic.com>
Date: Sun May 11 09:56:40 2014 -0400
Fix testsuite for GCC 4.9.0
commit 52b3457093ed19b2a7c5fcf243c4014c90ce6225
Author: Magnus Granberg <zorry@gentoo.org>
Date: Sun May 11 09:55:28 2014 -0400
Check /proc/self/status for PaX status.
commit 7ba4c5d72aa440a4b21fb57e999e67c5957761da
Author: Dominik Vogt <dominik.vogt@gmx.de>
Date: Sun May 11 09:52:47 2014 -0400
Use to get correct dir
commit 31e0d4ecff6dc2a6c75a066ee099b52a43f6ba27
Merge: 1c0e9a7 99909eb
Author: Anthony Green <green@moxielogic.com>
Date: Wed Apr 23 19:24:47 2014 -0400
Merge pull request #119 from joshtriplett/fastcall-fastball
src/x86/win32.S: Define ffi_closure_FASTCALL in the MASM section, too
commit 99909eb6184b62408d88b6b4e7ab38e84e6d0bf3
Author: Josh Triplett <josh@joshtriplett.org>
Date: Tue Apr 22 21:17:52 2014 -0700
src/x86/win32.S: Define ffi_closure_FASTCALL in the MASM section, too
commit 1c0e9a7297ced15413c2d2d5d35f6c650c4b46c9
Merge: 93a24f2 d369522
Author: Anthony Green <green@moxielogic.com>
Date: Mon Apr 21 12:41:56 2014 -0400
Merge pull request #101 from joshtriplett/fastcall-closures
Support closures for fastcall
commit d36952273d4fafbda91ecc205fc0824f7cc65e70
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Apr 20 12:03:25 2014 -0700
Support fastcall closures
libffi on 32-bit x86 now supports closures for all supported ABIs.
Thus, rewrite the last remaining duplicated-by-ABI test (closure_stdcall
and closure_thiscall) to use the generic ABI_NUM/ABI_ATTR mechanism.
commit 93a24f216bcdd1018b976d697179c6d49004015a
Merge: dd11a04 2349fec
Author: Anthony Green <green@moxielogic.com>
Date: Sat Apr 12 19:38:07 2014 -0400
Merge pull request #80 from ueno/devel
Fix typo in doc
commit dd11a04061cb49ce1d702545693c24eb1267d648
Merge: 8fa2812 03ca880
Author: Anthony Green <green@moxielogic.com>
Date: Sat Apr 12 19:37:21 2014 -0400
Merge pull request #86 from joshtriplett/testsuite-CC-CXX
testsuite ignores CC parameter supplied to configure or make
commit 8fa2812355e685a42abf9a62fbc674d616b2edee
Merge: 8a58e6b 419503f
Author: Anthony Green <green@moxielogic.com>
Date: Sat Apr 12 19:32:08 2014 -0400
Merge pull request #116 from frida/fix/darwin-aarch64-variadic
Fix handling of variadic calls on Darwin/AArch64
commit 8a58e6b7805b736def197b8baf8e465a2a3f6913
Merge: 30b77c5 a539f7f
Author: Anthony Green <green@moxielogic.com>
Date: Sat Apr 12 19:30:18 2014 -0400
Merge pull request #115 from frida/fix/darwin-aarch64-alignment
Fix alignment of AArch64 assembler functions
commit 30b77c56f95c63ecd83399aafdbad7b07330f2fd
Merge: dc33cb3 3e2b84d
Author: Anthony Green <green@moxielogic.com>
Date: Sat Apr 12 19:29:13 2014 -0400
Merge pull request #117 from frida/fix/windows-regression
Fix Windows regression
commit 3e2b84d295531720917bf46afc532fc6d877e3ec
Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com>
Date: Sat Apr 12 01:04:04 2014 +0200
Fix Windows regression
Introduced by b5fed601948237037513a9b7f967c8fc6c9ff1f6.
commit 419503f409c321fe31ff59d963ef34bb913420d0
Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com>
Date: Sun Apr 6 20:54:13 2014 +0200
Fix handling of variadic calls on Darwin/AArch64
commit a539f7ffd6783aa11353d13265520e453c565fb4
Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com>
Date: Sun Apr 6 20:53:02 2014 +0200
Fix alignment of AArch64 assembler functions
commit dc33cb3c998da521a960385c1269c3aef552f69f
Merge: c860a99 b5fed60
Author: Anthony Green <green@moxielogic.com>
Date: Sat Apr 5 23:41:22 2014 -0400
Merge pull request #114 from joshtriplett/bounce-on-a-tiny-trampoline
Fix ABI on 32-bit non-Windows x86: go back to trampoline size 10
commit b5fed601948237037513a9b7f967c8fc6c9ff1f6
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sat Apr 5 17:33:42 2014 -0700
Fix ABI on 32-bit non-Windows x86: go back to trampoline size 10
The trampoline size is part of the ABI, so it cannot change. Move the
logic from the stdcall and thiscall trampolines to the functions they
call, to reduce them both to 10 bytes.
This drops the previously added support for raw THISCALL closures on
non-Windows. (Non-raw THISCALL closures still work.)
commit 03ca880081b22efab09ba72268270f83017d3d7b
Author: Josh Triplett <josh@joshtriplett.org>
Date: Thu Mar 27 08:44:34 2014 -0700
README: Note the testsuite changes to respect $CC and $CXX
commit d74df8c5d8c6722ecb908da98c86cc8e2c755b84
Author: Josh Triplett <josh@joshtriplett.org>
Date: Thu Mar 27 00:44:12 2014 -0700
README: Update Windows example to set both CC and CXX
commit 7d698125b1f05173f3656a89755a2eb58813b002
Author: Josh Triplett <josh@joshtriplett.org>
Date: Wed Mar 26 23:17:56 2014 -0700
Use the proper C++ compiler to run C++ tests
Running the C compiler with -shared-libgcc -lstdc++ does not work on
non-GCC compilers.
commit fa5e88f170cb37c7b2b9bb015c8c5b854ffd8a3e
Author: Josh Triplett <josh@joshtriplett.org>
Date: Wed Mar 26 23:53:57 2014 -0700
.travis.yml: Make the build command more readable by splitting at &&
"script" can contain multiple commands to run in sequence.
commit 0c3824702d3d59d37f8c177d646303f546187683
Author: Josh Triplett <josh@joshtriplett.org>
Date: Wed Mar 26 14:51:32 2014 -0700
Always set CC_FOR_TARGET for dejagnu, to make the testsuite respect $CC
This fixes cross-compilation and compilation with CC="gcc -m32".
commit 9946a92af31b30cb7760150d1f8ca6c11b01aeea
Author: Josh Triplett <josh@joshtriplett.org>
Date: Wed Mar 26 20:18:58 2014 -0700
Stop looking for expect and runtest above top_builddir
Users wishing to test hand-compiled versions of expect and runtest can
easily enough put them in their path or set EXPECT and RUNTEST
themselves.
commit acb202325215058639234efb7af1f04c1c8a1f44
Author: Josh Triplett <josh@joshtriplett.org>
Date: Wed Mar 26 20:18:41 2014 -0700
Stop setting an empty AM_RUNTESTFLAGS
commit c860a992fef5d7cd7bb0975b1632d17a9fafe007
Author: Anthony Green <green@moxielogic.com>
Date: Tue Mar 25 17:02:51 2014 -0400
Upgrade version to 3.1-rc1
commit 9837073e6203048a162a226798c5d252600219ed
Author: Anthony Green <green@moxielogic.com>
Date: Tue Mar 25 16:24:14 2014 -0400
Update copyright date and clean up README notes.
commit 18d3baa9f597b026675baa1b4e5a5eeef7577a08
Merge: afee537 f0c8a31
Author: Anthony Green <green@moxielogic.com>
Date: Tue Mar 25 16:12:53 2014 -0400
Merge pull request #108 from joshtriplett/freebsd
[3.1 blocker] Fix FreeBSD support
commit afee53738a995e23bd2f89fd0f7b30b380566106
Merge: 7d24785 b2d610e
Author: Anthony Green <green@moxielogic.com>
Date: Tue Mar 25 16:12:35 2014 -0400
Merge pull request #106 from joshtriplett/darwin-award
[3.1 blocker] Update OS X build system to include win32.S on 32-bit
commit 7d2478568ed9f03cbf57627f449a2d2cf4d1571c
Merge: beab5f3 56be47f
Author: Anthony Green <green@moxielogic.com>
Date: Tue Mar 25 16:12:17 2014 -0400
Merge pull request #110 from joshtriplett/w64
Fix 64-bit Windows support
commit beab5f334d9ec5b8b91d1cc727d1029b40358e7e
Merge: 28fb197 ef5890e
Author: Anthony Green <green@moxielogic.com>
Date: Tue Mar 25 16:07:47 2014 -0400
Merge pull request #105 from joshtriplett/win32-relocations
[3.1 blocker] win32.S needs to handle relocations/GOT
commit f0c8a31577172104049283f0a80c723084a5bd77
Author: Josh Triplett <josh@joshtriplett.org>
Date: Mon Mar 24 22:14:26 2014 -0700
Compile win32.S on FreeBSD
commit b2d610e028b5ce48d1ad7e5d0debc9c321d891b2
Author: Josh Triplett <josh@joshtriplett.org>
Date: Fri Mar 21 11:10:13 2014 -0700
Compile win32.S on 32-bit Darwin as well
commit be50b87a490e794362cb4a27ada2fbaab202adb8
Author: Josh Triplett <josh@joshtriplett.org>
Date: Mon Mar 24 21:44:13 2014 -0700
Always use configure to detect whether global symbols need underscores
64-bit Windows already used this check; make it universal, and use it in
place of an ifdef on X86_WIN32, to handle non-Windows platforms that use
the underscore, such as Darwin.
commit 56be47f87629e31afbcb0774aa65735f539ee972
Author: Josh Triplett <josh@joshtriplett.org>
Date: Mon Mar 24 21:24:53 2014 -0700
Fix a warning on 64-bit Windows
When sizeof(size_t) != sizeof(unsigned), adding a size_t to cif->bytes
produces a "possible loss of data" warning. However, the size_t in
question refers to the size of a single parameter. Use a cast to avoid
the warning.
commit 48a8eda74aad8a21b6f26df5df08fe64c043d208
Author: Josh Triplett <josh@joshtriplett.org>
Date: Mon Mar 24 21:21:12 2014 -0700
Avoid referencing undefined ABIs on 64-bit Windows builds
64-bit Windows does not have FFI_STDCALL, FFI_THISCALL, or FFI_FASTCALL.
commit f0f4138f90345d7d67dfa6783a7e1c7cc30d3c6f
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sat Mar 22 10:00:53 2014 -0700
win32.S: Add handling for position-independent code on Darwin
Newer versions of Darwin generate the necessary stub functions
automatically and just need a call instruction, but accomodating older
versions as well requires adding the stub.
commit ef5890ebafb7cd2fbf9acf161edb55fe1382871c
Author: Josh Triplett <josh@joshtriplett.org>
Date: Fri Mar 21 11:01:39 2014 -0700
win32.S: Use shifting for multiplication rather than repeated addition
The jump table code added a register to itself twice to multiply by 4;
shift the register left by 2 instead.
commit 4fca48901e7e4f53bf490ed22607b2d2d8f4bfcc
Author: Josh Triplett <josh@joshtriplett.org>
Date: Fri Mar 21 11:00:41 2014 -0700
win32.S: Make the jump tables position-independent
Now that non-Windows platforms include win32.S, it needs to support
building as position-independent code. This fixes build failures on
target platforms that do not allow text relocations.
commit 2087dcf736274286f76c69d3988fb6d7cc4fd0f5
Author: Josh Triplett <josh@joshtriplett.org>
Date: Fri Mar 21 10:57:06 2014 -0700
win32.S: Make calls to ffi_closure_SYSV_inner position-independent
Now that non-Windows platforms include win32.S, it needs to support
building as position-independent code. This fixes one source of build
failures on target platforms that do not allow text relocations.
commit 28fb197079cf1d11da4eef7c8c243ab05590c528
Merge: c697472 c3dd0a1
Author: Anthony Green <green@moxielogic.com>
Date: Tue Mar 18 12:19:36 2014 -0400
Merge pull request #107 from rvandermeulen/msvcc
Various compatibility fixes and improvements to msvcc.sh.
commit c3dd0a1a0245fc174361a70876e88ae24285f861
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Date: Tue Mar 18 12:09:45 2014 -0400
Various compatibility fixes and improvements to msvcc.sh.
* Don't try to mix incompatible optimization flags in debug builds.
* Workaround ax_cc_maxopt.m4 not supporting MSVC and change -O3 to -O2.
* Fix MSVC warning by properly passing linker flags to compiler.
* Make msvcc.sh return 1 if invalid command line options are used rather than silently eating them.
* Add more comments.
commit c697472fccfbb5b87b007c053cda9ef014b346b9
Merge: 83fd2bc e48918e
Author: Anthony Green <green@moxielogic.com>
Date: Mon Mar 17 00:32:42 2014 -0400
Merge pull request #102 from joshtriplett/test-generic
Add ABIs to the test matrix; unify many bits of the testsuite
commit e48918ecf876bc85d040fc50a232059c566553a8
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 20:29:27 2014 -0700
testsuite: Add ABIs to the test matrix; unify tests across ABIs
This eliminates all the *_win32.c tests in favor of the tests they were
branched from, and expands test coverage to run many more tests on
stdcall, thiscall, and fastcall.
This same mechanism also supports testing any other target that has
multiple ABIs.
commit 4d4d368e5a55d9443c4c53b1b70d58ab6d8c941c
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 17:02:05 2014 -0700
testsuite: Replace ffitestcxx.h with ffitest.h
ffitest.h contains a superset of the functionality of ffitestcxx.h;
make the C++ tests include ffitest.h instead, and remove ffitestcxx.h.
commit 3f97cf3413c46caf2a79f32ac9cda4620972c2d7
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 16:53:42 2014 -0700
testsuite: Unify the C and C++ testsuites
These two testsuites differ only in the source file glob and a couple of
additional compiler options; unify the remaining bits.
commit 0d9cce8edb937bbe771a6cdd25f671edf06d2128
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 16:22:58 2014 -0700
testsuite: ffitest.h: Parenthesize the CHECK macro
commit 5695ec1444c5323e48fe4314f8c8f027625e67df
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 16:04:58 2014 -0700
testsuite: Factor out a function to run a matrix of tests
This commons up code from libffi.call/call.exp and
libffi.special/special.exp, unifies the optimization option matrix
between the two, and makes it easier to add more axes to the matrix
in the future.
commit dfdb02cc869855d3b68571e5f7aa77ae8c9d254a
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 15:26:26 2014 -0700
testsuite: Introduce a __THISCALL__ compiler-specific macro
commit 83fd2bce0456224483435d4b764063f4513fd464
Merge: 3658a07 06ff924
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 22:03:29 2014 -0400
Merge pull request #99 from joshtriplett/gitignore
.gitignore: Ignore more generated files
commit 3658a0700a50d37a2fdba04fd9d79ad2f706d9f5
Merge: d948d0a 46c5d3c
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 21:37:42 2014 -0400
Merge pull request #100 from rvandermeulen/bug-756740
Change double quotes in Makefile.am to single quotes.
commit 46c5d3c30fdc2b43c076ad955078d7c5f1e75b37
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Date: Sun Mar 16 21:16:08 2014 -0400
Change double quotes in Makefile.am to single quotes.
This was originally done in PR #84, except the change was made to Makefile.in instead of Makefile.am and was therefore reverted the next time the files were regenerated.
commit 06ff924215a2f9739efa2c059dc595bc4ec1c851
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 16:19:46 2014 -0700
.gitignore: Ignore more generated files
The build process generates doc/libffi.info and fficonfig.h.in, so add
them to .gitignore.
commit bad8948346e9b8813023a0cc78a3b6eb8d9c14c6
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 15:16:18 2014 -0700
testsuite: Introduce a __STDCALL__ compiler-specific macro
Several tests want to use stdcall, which differs in syntax by compiler,
so introduce a macro for it in ffitest.h.
commit 98a793fa36a4ab3ba24d059cb80a2891cdb940e1
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 15:20:36 2014 -0700
testsuite: Common up the ifdef blocks for compiler-specific macros
commit d948d0a729c934b0224749338a3ba0a2c8f51c45
Merge: b61b472 a86bd31
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 10:53:48 2014 -0400
Merge pull request #98 from joshtriplett/unconfigure.host
Merge configure.host into configure.ac
commit a86bd318e2424d879d784ee7b29d6536d7a17c18
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 06:58:59 2014 -0700
Merge configure.host into configure.ac
configure.host only has a single entry, and shows no signs of needing
more added.
commit b61b472bd0647006d6685238721002017f1d119c
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 09:45:55 2014 -0400
Update version to 3.1-rc0. Clean up README.
commit 7a64e7dbba54e6e9f69954adfb943be1856ff928
Merge: 11a5c5c eef2e02
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 09:39:08 2014 -0400
Merge pull request #97 from joshtriplett/remove-more-generated-files
Remove more generated files
commit 11a5c5c39f5861011f6c5ddf795da3a32b5f0082
Merge: 9a62a21 1c68c07
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 09:38:47 2014 -0400
Merge pull request #96 from joshtriplett/sawing-changelogs
Generate ChangeLog from git in make dist; remove it from version control
commit eef2e02a13d7d1c8145d47a64467f654406a3548
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 06:26:03 2014 -0700
doc: Remove autogenerated info file and stamp
commit 9fb403d3c5d9643e0f561cab6d4a07b1e54907ff
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 06:25:52 2014 -0700
fficonfig.h.in: Remove, configure generates it
commit 1c68c07217fda78a779778c1480fedef7a58d5b4
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 06:11:58 2014 -0700
Generate ChangeLog from git in make dist
Archive the existing ChangeLog to ChangeLog.libffi-3.1
commit c65ed55e655711e008282edbdd82ce95d008b4f6
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 05:52:00 2014 -0700
ChangeLog.v1: Fix typo in explanatory header.
commit 9a62a21f5c3a8e1da463229f3170c8ab3031d920
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 09:03:57 2014 -0400
Add missing ChangeLog entry. Clean up some entries.
commit 9bc704c58cb7a049d867837e3a11e2e31886ec66
Merge: 694447a e892e58
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 08:41:00 2014 -0400
Merge pull request #95 from joshtriplett/news
README: Update news for 3.0.14
commit e892e581d1838a06c18c7ecd50ebd79915cff92b
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 05:38:24 2014 -0700
README: Update news for 3.0.14
commit 694447aa29deadd571efb4e9a26ee3f68ede1493
Merge: fdc87f3 45a6c21
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 08:32:05 2014 -0400
Merge pull request #93 from joshtriplett/travis-dist
Make Travis check "make dist"
commit 45a6c21efa944b520842e631dc54919b04884744
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 05:29:08 2014 -0700
.travis.yml: Test "make dist" too.
commit fdc87f3b2ea37b58a4a9ae6c35083f544909fe3c
Merge: 7412b83 e1911f7
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 08:05:51 2014 -0400
Merge pull request #85 from joshtriplett/stdcall
stdcall support on Linux
commit e1911f78df113ca58738b66089a070d4cf747de7
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 03:25:53 2014 -0700
Add support for stdcall, thiscall, and fastcall on non-Windows x86-32
Linux supports the stdcall calling convention, either via functions
explicitly declared with the stdcall attribute, or via code compiled
with -mrtd which effectively makes stdcall the default.
This introduces FFI_STDCALL, FFI_THISCALL, and FFI_FASTCALL on
non-Windows x86-32 platforms, as non-default calling conventions.
commit 7412b838d543aae4fa925862bd5702d3dacbc29a
Merge: c0cc5fd 9531d05
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 07:58:16 2014 -0400
Merge pull request #90 from joshtriplett/win32-unifdef
prep_cif.c: Remove unnecessary ifdef for X86_WIN32
commit c0cc5fdaa237b67e86f22d2f6e13f3b42d9aae33
Merge: 98b5296 b3a5da0
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 07:57:59 2014 -0400
Merge pull request #89 from joshtriplett/travis32
.travis.yml: Test on both 32-bit and 64-bit
commit 9531d05f64c2a674e0197158ffad68d69f177bd0
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 01:50:02 2014 -0700
prep_cif.c: Remove unnecessary ifdef for X86_WIN32
ffi_prep_cif_core had a special case for X86_WIN32, checking for
FFI_THISCALL in addition to the FFI_FIRST_ABI-to-FFI_LAST_ABI range
before returning FFI_BAD_ABI. However, on X86_WIN32, FFI_THISCALL
already falls in that range, making the special case unnecessary.
Remove it.
commit b3a5da068abd2f2983d9e67adbf41b0e0f34e37f
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sat Mar 15 23:27:56 2014 -0700
.travis.yml: Test on both 32-bit and 64-bit
commit 98b52960485a261399f081915f36063de3854a5f
Merge: 134ce4c f6dd184
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 07:51:33 2014 -0400
Merge pull request #94 from joshtriplett/esp-extra-stackery-perception
ChangeLog: Document testsuite changes to remove fragile stack pointer checks
commit f6dd1845434dd53e22129becdfa092c082df307c
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 04:49:36 2014 -0700
ChangeLog: Document testsuite changes to remove fragile stack pointer checks
commit 134ce4c0266bf994f07518fc534de53f1d3c8de8
Merge: 2680e9e 9c27932
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 07:47:17 2014 -0400
Merge pull request #91 from joshtriplett/esp-extra-stackery-perception
testsuite: Remove fragile stack pointer checks
commit 9c279328ee12fc869adff63ca81f1230977bd42b
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 02:31:19 2014 -0700
testsuite: Remove fragile stack pointer checks
testsuite/libffi.call/closure_stdcall.c and
testsuite/libffi.call/closure_thiscall.c include inline assembly to save
the stack pointer before and after the call, and compare the values.
However, compilers can and do leave the stack in different states for
these two pieces of inline assembly, such as by saving a temporary value
on the stack across the call; observed with gcc -Os, and verified as
spurious through careful inspection of disassembly.
commit 2680e9ea9b4c87ea8042a61e551bd667493d4bd3
Merge: 071eab3 82f8cb2
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 07:44:08 2014 -0400
Merge pull request #88 from joshtriplett/such-precision-many-fail-wow
testsuite/libffi.call/many.c: Avoid spurious failure due to excess precision
commit 82f8cb24a1d976db35ae31a4b86cec8926da327d
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 04:27:32 2014 -0700
ChangeLog: Document many.c and many_win32.c changes to avoid spurious failures
commit 88d562a8b5912e99306063fe3bc289bab6ca6ebe
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sat Mar 15 22:08:19 2014 -0700
testsuite/libffi.call/many_win32.c: Avoid spurious failure due to excess precision
The test case testsuite/libffi.call/many_win32.c can spuriously fail due
to excess floating-point precision. Instrumenting it with some printf
calls shows differences well above FLT_EPSILON. (Note when
instrumenting it that multiple computations of the difference, such as
one in a print and another in the conditional, may produce different
results.)
Rather than complicating the test suite with architecture-specific flags
to avoid excess precision, just simplify the floating-point computation
to avoid a dependency on potential excess precision.
commit c00a49ecd165b2d06c1c9b249d212dc843fa116f
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sat Mar 15 22:08:19 2014 -0700
testsuite/libffi.call/many.c: Avoid spurious failure due to excess precision
The test case testsuite/libffi.call/many.c can spuriously fail due to
excess floating-point precision. Instrumenting it with some printf
calls shows differences well above FLT_EPSILON. (Note when
instrumenting it that multiple computations of the difference, such as
one in a print and another in the conditional, may produce different
results.)
Rather than complicating the test suite with architecture-specific flags
to avoid excess precision, just simplify the floating-point computation
to avoid a dependency on potential excess precision.
commit 071eab32a7f9fbbef46c0d8f37d9985bc9cceb37
Merge: 2228c7a 2f44952
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 07:36:52 2014 -0400
Merge pull request #92 from joshtriplett/autogen
Re-add libtool-ldflags
commit 2f44952c95765c1486fad66f57235f8d459a9748
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sun Mar 16 04:35:12 2014 -0700
Re-add libtool-ldflags
commit 2228c7ab190f3c529b9018495467b841fa21cba2
Merge: 76d19d0 35634db
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 16 07:25:18 2014 -0400
Merge pull request #87 from joshtriplett/autogen
Remove autogenerated files from the repository
commit 35634dbceaac0a1544f7385addc01d21ef1ef6a8
Author: Josh Triplett <josh@joshtriplett.org>
Date: Sat Mar 15 18:11:16 2014 -0700
Remove autogenerated files from the repository
Add an autogen.sh to regenerate them.
commit 76d19d004e36e99d261ee78261e2f52cea5e4ab1
Merge: c86d9b6 a1a6f71
Author: Anthony Green <green@moxielogic.com>
Date: Fri Mar 14 16:54:31 2014 -0400
Ensure the linker supports @unwind sections in libffi.
commit c86d9b6cc6e16ee262844a33b40441374400758c
Merge: 4efb7db f8cdf11
Author: Anthony Green <green@moxielogic.com>
Date: Fri Mar 14 16:51:20 2014 -0400
Fix merge
commit 4efb7dbfd9427c478a948cd0d464210123db8de8
Merge: 634a475 18eb81d
Author: Anthony Green <green@moxielogic.com>
Date: Fri Mar 14 16:47:57 2014 -0400
Merge pull request #81 from rvandermeulen/bug-756740
Allow building for mipsel with Android NDK r8.
commit a1a6f71bfe4199293043b2e4cfb4c8d3cb1112f9
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Date: Mon Mar 10 15:12:47 2014 -0400
Remove stray hunk that shouldn't have been included in this patch.
commit f8cdf11467181f2a9a6b7e748167569aa58e3a81
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Date: Mon Mar 10 15:04:58 2014 -0400
Replace double quotes with single quotes in Makefile.in to improve compatibility between some versions of MSYS and gmake. From Mozilla bug 943728.
Author: Andreas Bergmeier <andreas.bergmeier@gmx.net>
Date: Fri Apr 19 17:12:24 2013 +0200
Enable disabling of libtool on platforms where it does not work (e.g. LLVM).
Build libraries normally then.
commit c3c40e0290377d7cf948b072eedd8317c4bf215e
Merge: ede96e4 4750e3c
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 30 05:24:14 2013 -0700
Merge pull request #34 from davidsch/armhf
Fix ARM hard-float support for large numbers of VFP arguments
commit 4750e3c662fd9569cb3e2d28f539685fd1ca8caf
Author: David Schneider <david.schneider@bivab.de>
Date: Thu Mar 28 16:56:36 2013 +0100
update changelog
commit 9708e7cf09f1bf815f4d6485eb1f180fabb35804
Author: David Schneider <david.schneider@bivab.de>
Date: Wed Mar 27 19:31:04 2013 +0100
folow the ARM hard-float ABI in ffi_prep_incoming_args_VFP
commit b41120981e5e49ca2da10b94b154775f50da5f36
Author: David Schneider <david.schneider@bivab.de>
Date: Wed Mar 27 16:38:35 2013 +0100
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
commit dd26f1f39c54861c5b91931f0f37a72942c2a072
Author: David Schneider <david.schneider@bivab.de>
Date: Thu Mar 28 15:39:01 2013 +0100
add a failing test for closures on ARM hardfloat
commit 3c1608613ab3c2184222b98c5482cddedd6b559b
Author: David Schneider <david.schneider@bivab.de>
Date: Tue Mar 26 19:24:47 2013 +0100
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.
commit 0f2ff2d4c92719be8936179f9ab674f4d1a3fd14
Author: David Schneider <david.schneider@bivab.de>
Date: Tue Mar 26 19:22:02 2013 +0100
separate ARM ffi_prepare_args in a version implementing the simple SYSV calling convention and one for the hard-float calling convention
commit 3a352b8a8252400a83de22c7c424bf1887b4a2ef
Author: David Schneider <david.schneider@bivab.de>
Date: Tue Mar 26 14:24:04 2013 +0100
move the hardfloat specific argument copying code to the helper function
commit 5df6b7944a4225b6eb329f3886be64e04e966f29
Author: David Schneider <david.schneider@bivab.de>
Date: Tue Mar 26 14:02:21 2013 +0100
extract setting of arguments to be passed to a helper function
commit 7d1048c471bb4b1f9d67a9e9f8e95f9a1d2e6d45
Author: David Schneider <david.schneider@bivab.de>
Date: Tue Mar 26 11:33:33 2013 +0100
extract code to align the argument storage pointer to a helper function
commit b9f013788f0f384c423ad963475aaacb55598135
Author: David Schneider <david.schneider@bivab.de>
Date: Mon Mar 25 13:27:36 2013 +0100
add a testcase, that on ARM hardfloat needs more than the 8 VFP argument registers to pass arguments to a call
commit 2fbdb0f231cafdb77b025d3cd8afe90cda99b3ba
Author: David Schneider <david.schneider@bivab.de>
Date: Mon Mar 25 13:26:02 2013 +0100
use the absolute value to check the test result against an epsilon
commit ede96e4eb660bbf3e0fe048135efa8106f48af5d
Merge: f22ab3c 9e34992
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 17 18:38:21 2013 -0400
Merge branch 'master' of github.com:/atgreen/libffi
commit f22ab3c6877cbdd07f058b68816b0086b1cb0e1e
Merge: 12b1886 d08124b
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 17 18:34:54 2013 -0400
Merge branch 'master' of github.com:/atgreen/libffi
commit 9e34992a5ea2fda1dba5875bf96dc91a7230f51f
Merge: 12b1886 d08124b
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 17 18:34:54 2013 -0400
Merge branch 'master' of github.com:/atgreen/libffi
commit 12b1886d7b1f8aa264b1d348bfa47a0e14712df4
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 17 18:32:12 2013 -0400
cygwin fix & updates for 3.0.13
commit d08124bedf2c6d61874fe215404783aeb9f6f1ac
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 17 18:32:12 2013 -0400
cygwin fix & updates for 3.0.13
commit cb32c812d04d1dfa72002cc04924e7e4fef89e02
Author: Anthony Green <green@moxielogic.com>
Date: Sun Mar 17 09:27:55 2013 -0400
Fix lib install dir
commit efd7866a361a6f636bae8400d26c6811e56ca207
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 08:35:57 2013 -0400
2.0.13rc1
commit ff647ad4dff2f07dd153f295a1f70b1d906cd6ca
Merge: 4acf005 d9dd417
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 08:20:40 2013 -0400
Merge branch 'master' of github.com:/atgreen/libffi
Conflicts:
ChangeLog
commit 4acf0056f55c757490dae6c29a65b0321327ea8a
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 08:18:45 2013 -0400
Build fix for soft-float power targets
commit 675c9839224e4268187f1ec6f512127f9db555d0
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 08:12:38 2013 -0400
Documentation fix
commit 8a286f570ccd41db81f74ea7f248da62241d898a
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 08:01:19 2013 -0400
Fix for m68000 systems
commit d9dd417b09566af55b7b3000bb53ccaf2e1d6c92
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 08:01:19 2013 -0400
Fix for m68000 systems
commit 215763d012a944d95406b394d6013b80d220e870
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 07:57:35 2013 -0400
Update configury.
commit 9180d8f39c9b6afe17b78277c2711a5d9948e824
Merge: 2fb527a 7e1b326
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 07:46:55 2013 -0400
Merge branch 'master' of github.com:/atgreen/libffi
commit 2fb527a017a4943e176a489ff103231b86464b59
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 07:46:38 2013 -0400
Add Meta processor support
commit 211a9ebf4d1a9801e15e103566aed2b8c42790be
Merge: f308faf ee18766
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 04:24:40 2013 -0700
Merge pull request #32 from alex/patch-1
Fix for a crasher due to misaligned stack on x86-32.
commit 7e1b32649efd24814e86172e196f390566f9e970
Merge: f308faf ee18766
Author: Anthony Green <green@moxielogic.com>
Date: Sat Mar 16 04:24:40 2013 -0700
Merge pull request #32 from alex/patch-1
Fix for a crasher due to misaligned stack on x86-32.
commit ee18766b169811426c14b011fbb46d81e344f926
Author: Alex Gaynor <alex.gaynor@gmail.com>
Date: Thu Mar 14 15:00:33 2013 -0700
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)
commit f308faf1eabaf8dc24966ab17fbf94368f46b9c7
Author: Anthony Green <green@moxielogic.com>
Date: Mon Feb 11 14:25:13 2013 -0500
Add moxie support. Release 3.0.12.
commit 4ea22e54e3b143fe05c413f6dddd236af6bcbfb2
Author: Anthony Green <green@moxielogic.com>
Date: Sun Feb 10 08:48:38 2013 -0500
Update README
commit 10e77227b6ae85f46f28590bfb09ca3608554358
Author: Anthony Green <green@moxielogic.com>
Date: Sun Feb 10 08:47:26 2013 -0500
mend
commit a9521411a53d58f2bf88199242200ceb0d4dae3a
Author: Anthony Green <green@moxielogic.com>
Date: Sat Feb 9 06:54:40 2013 -0500
sparc v8 and testsuite fixes
commit 70b11b47eea93bf43627588d494d0b3b0d062481
Author: Anthony Green <green@moxielogic.com>
Date: Fri Feb 8 16:12:19 2013 -0500
Fix small struct passing on ppc
commit 63ba1fa79f7c4ce42de848debe233aab31aecb51
Author: Anthony Green <green@moxielogic.com>
Date: Fri Feb 8 15:18:19 2013 -0500
Remove xfail for arm*-*-*.
commit 24fbca4c1d57d4ea628c0a8ba643684daf54a37e
Author: Anthony Green <green@moxielogic.com>
Date: Fri Feb 8 14:19:56 2013 -0500
Fix typo
commit b0fa11cb0a94ce6baca058eab9b10e40475e71d6
Author: Anthony Green <green@moxielogic.com>
Date: Fri Feb 8 14:17:13 2013 -0500
More man page cleanup
commit 8bd15d139a58a6e46dc90a1cb2d89f59f32f06c7
Author: Anthony Green <green@moxielogic.com>
Date: Fri Feb 8 13:56:37 2013 -0500
Fix many.c testcase for ppc
commit 7aab825cf198be85490d3cd80e778d415d85ad9b
Author: Anthony Green <green@moxielogic.com>
Date: Fri Feb 8 13:26:21 2013 -0500
Add missing files to dist
commit cb03ea8f4eb08024e44abe4392edc77b89fbfbad
Author: Anthony Green <green@moxielogic.com>
Date: Fri Feb 8 12:25:18 2013 -0500
sparc v9 fixes for sun tools
commit 35ee8d44f31dd3d3b88083c837dc351593e13cc2
Author: Anthony Green <green@moxielogic.com>
Date: Fri Feb 8 07:12:41 2013 -0500
Fix microblaze big-endian struct issue
commit 9db7e1a958fc484ba149efe027008b9a170395fb
Author: Anthony Green <green@moxielogic.com>
Date: Thu Feb 7 21:06:08 2013 -0500
Fix botched sparc patch. Update version.
commit ce0138e61455f268af326e26908b9680ec2c4bea
Author: Anthony Green <green@moxielogic.com>
Date: Thu Feb 7 18:04:01 2013 -0500
Update bug report address. rc2.
commit fd07c9e40451e0ec1d0475cd54a83d45ccaea2c0
Author: Anthony Green <green@moxielogic.com>
Date: Thu Feb 7 18:00:36 2013 -0500
Add cache flushing routine for sun compiler on sparc solaris 2.8
commit ed6ae9501b2bab45daf93b4935eb0c977635b763
Author: Anthony Green <green@moxielogic.com>
Date: Thu Feb 7 16:43:36 2013 -0500
Add libtool-ldflags. Define toolexeclibdir for non-GCC builds.
commit ffef2e046aaec853be356f0b8770a335185ea9cf
Author: Anthony Green <green@moxielogic.com>
Date: Thu Feb 7 15:47:01 2013 -0500
x32 and libtool fixes
commit 95eecebb2858dc6f1495a61072ff36d0a8127144
Author: Anthony Green <green@moxielogic.com>
Date: Thu Feb 7 15:32:46 2013 -0500
Remove a.out cruft from dist
commit 176aa9d2e23d9cd57d6f250692d910b408f9a651
Author: Anthony Green <green@moxielogic.com>
Date: Thu Feb 7 15:29:22 2013 -0500
Fix GCC usage test and update README
commit f3a4f3fdde89b04d66983a42a25d09161c5d4d54
Author: Anthony Green <green@moxielogic.com>
Date: Thu Feb 7 09:57:20 2013 -0500
Fixes for AIX xlc compiler.
commit 522f8fef49848927482bc63c94afaea5b84e5ec1
Author: Anthony Green <green@moxielogic.com>
Date: Wed Feb 6 20:31:31 2013 -0500
Fix man page. Clean out junk.
commit c4dfa259eb4e8e6f4c397868d7fee80aa0bb6a12
Author: Anthony Green <green@moxielogic.com>
Date: Wed Feb 6 17:43:24 2013 -0500
Bump soversion
commit f62bd63fe6123cadedb8b2b2c72eb549c40fbce9
Author: Anthony Green <green@moxielogic.com>
Date: Wed Feb 6 17:38:32 2013 -0500
Release candidate 1
commit f7cd61e9e68a4a51147df04d75bfe5b91b9d9286
Author: Anthony Green <green@moxielogic.com>
Date: Wed Feb 6 17:38:04 2013 -0500
Fix pkgconfig install bits
commit 6a790129427121f7db2d876e7218a3104e6d2741
Author: Anthony Green <green@moxielogic.com>
Date: Wed Feb 6 17:37:15 2013 -0500
Work around LLVM ABI problem on x86-64
commit 370112938e705128fd5dd4017fc1a1210bd0271a
Merge: bada2e3 bcc0c28
Author: Anthony Green <green@moxielogic.com>
Date: Sun Jan 27 05:09:04 2013 -0800
Merge pull request #28 from jralls/master
Reorder x86_64 checks
commit bcc0c28001b6d427d5cd8037d2e3c892babc6b4c
Author: John Ralls <jralls@ceridwen.us>
Date: Sat Jan 26 15:21:14 2013 -0800
Reorder x86_64 tests
So that darwin and cygwin/mingw are tested before the generic check --
which allows them to actually be set.
commit bada2e326d9a9acf3ae40cfa4f5d7a9ba97b2ea8
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 21 08:02:07 2013 -0500
Update README
commit 655bb8f3690feba8e840a5f1854b1d78ed08f692
Merge: 1035ffb 840f975
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 21 08:01:24 2013 -0500
Merge branch 'master' of github.com:/atgreen/libffi
commit 1035ffb2f468e1a1c401d58cff7e7abb69838e68
Merge: aeb8719 4086024
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 21 07:55:53 2013 -0500
Update README
commit 840f975866052fdd91b2c224d56e01ae5900b60d
Merge: aeb8719 4086024
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 21 07:55:53 2013 -0500
Merge branch 'master' of github.com:/atgreen/libffi
commit aeb8719a34756969970603fca4568530d56708af
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 21 07:37:30 2013 -0500
New microblaze support
commit 40860245a4fd91a1b88adc9171ec993c549e45d5
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 21 07:37:30 2013 -0500
New microblaze support
commit 20cae32b152b43679ae65a85db9a1c6bb8a143dd
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 21 07:07:38 2013 -0500
Xtensa support
commit 9742f91782faef4a15941508a22c408fb7d1d227
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 21 07:03:41 2013 -0500
Mention IBM XL compiler support on AIX.
commit f03eab08248f122ce3b623a18df9e19fae1b6e98
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jan 11 17:14:11 2013 -0500
Remove obsolete inline test functions
commit 05fbe1faedc7b2580d5f14010d00e9e3cee73951
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jan 11 16:54:40 2013 -0500
xlc compiler support
commit 0b4986a7889ed1864674192228f1162c1b5770a8
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jan 11 11:19:52 2013 -0500
[travis] install dejagnu with sudo
commit 3c337eef51ab9a4993fc875bfa26289dd6a08881
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jan 11 11:18:14 2013 -0500
[travis] install dejagnu
commit 90720962ce1baf9fc35d1bde1738102bcd5bd5ed
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jan 11 10:57:30 2013 -0500
Add first travis config file
commit bff052d9cd5be41ba9e47c76114054af487d3c30
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jan 11 10:24:32 2013 -0500
32-bit x86 fix and more
commit cd41aeab6176f839167955c016ecc19f65f75df3
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jan 10 17:25:45 2013 -0500
Add compiler column to table
commit 8bf987d4df7c4d21435b9211f6cc86abf5904b42
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jan 10 17:24:51 2013 -0500
Fix for sunpro compiler on Solaris
commit 3ee74fd6dc8ccd32b608bbff73526838fc34f70b
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jan 10 17:15:03 2013 -0500
Update documentation version.
commit 13e2d7b92557a9511a0414df82bf2df3edc55cba
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jan 10 10:52:02 2013 -0500
Handle both 32 and 64-bit x86 builds regardless of target triple
commit 5141543000fc86a3d49a907a2313713ee79e504d
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jan 10 07:35:53 2013 -0500
Don't run EH tests with non-GNU compiler
commit 56ba8d86f47937a0afb81a2b9e77c9d235d9db45
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jan 10 07:25:10 2013 -0500
Don't use warning checking macro with sun compiler
commit 6a028caec1b2c7904feb4c4f9cb7e1125e1d1b60
Author: Anthony Green <green@moxielogic.com>
Date: Thu Jan 10 01:19:43 2013 -0500
Don't use GCCisms to define types when
+ building with the SUNPRO compiler.
commit 2d9b3939751b3ef9739049509d353ade10b32a8f
Author: Anthony Green <green@moxielogic.com>
Date: Wed Jan 9 21:14:54 2013 -0500
Fix for closures with sunpro compiler
commit 8308984e479e3274a36e98e8272b5adbb6b774c2
Author: Anthony Green <green@moxielogic.com>
Date: Tue Jan 8 15:14:21 2013 -0500
Make sure we're running dejagnu tests with the right compiler.
commit f26c7ca67147450db2fe25ea932944e6cf145d5c
Author: Anthony Green <green@moxielogic.com>
Date: Tue Jan 8 14:47:05 2013 -0500
Make compiler options in dejagnu runs compiler specific
commit 74c776e21907fc2e59257c021f23077f8b7966cb
Author: Anthony Green <green@moxielogic.com>
Date: Tue Jan 8 12:25:54 2013 -0500
Switch x86 Solaris to X86 from X86_64
commit 8962c8c8d06803e310bac0ffc8e84ea15daeff3f
Author: Anthony Green <green@moxielogic.com>
Date: Tue Jan 8 12:22:24 2013 -0500
Fix read-only eh_frame test
commit 35ddb69c2b49746d940e919ca226ecc1be94f14a
Author: Anthony Green <green@moxielogic.com>
Date: Tue Jan 8 07:53:37 2013 -0500
Only emit DWARF unwind info when building with GCC
commit f7879bc3f3a8d0bbfcc38771732c160a58ba9cd8
Author: Anthony Green <green@moxielogic.com>
Date: Tue Jan 8 07:30:28 2013 -0500
Testsuite fix for Solaris vendor compiler
commit 67cea90fc0897021466fd102671019d30db474cd
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 7 06:30:24 2013 -0500
mend
commit 0de3277b18cf54be3b81d509b9be9b47d9bc1e82
Author: Thorsten Glaser <tg@mirbsd.de>
Date: Mon Dec 3 00:02:31 2012 +0000
Testsuite fixes (was Re: [PATCH] Fix libffi on m68k-linux-gnu, completely)
Dixi quod…
>although I believe some 3.0.11 checks to be broken:
And indeed, with a few minor changes on top of git master,
I still get a full run of PASS plus one XPASS on amd64-linux!
With the other patches (from this message’s parent) and
these applied, I get a full PASS on m68k-linux as well.
So, please git am these three diffs ☺
bye,
//mirabilos
--
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
From 5cb15a3bad1f0fb360520dd48bfc938c821cdcca Mon Sep 17 00:00:00 2001
From: Thorsten Glaser <tg@mirbsd.org>
Date: Sun, 2 Dec 2012 23:20:56 +0000
Subject: [PATCH 1/2] Fix tests writing to a closure retval via pointer casts
As explained in <Pine.BSM.4.64L.1212022014490.23442@herc.mirbsd.org>
all other tests that do the same cast to an ffi_arg pointer instead.
PASS on amd64-linux (Xen domU) and m68k-linux (ARAnyM)
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
commit 8f4772f383abd71cfa141c8a70ba11c1aa4ebe2c
Author: Anthony Green <green@moxielogic.com>
Date: Mon Jan 7 06:14:53 2013 -0500
m68k fixes for signed 8 and 16-bit calls.
commit ea7f8440d58afbebb181e295ff564fdf3d6590a0
Author: Anthony Green <green@moxielogic.com>
Date: Fri Jan 4 09:09:32 2013 -0500
remove gcc-ism
commit f06c0f10377ac04eeba5e632dbe5c62c629df4e6
Author: Anthony Green <green@moxielogic.com>
Date: Wed Jan 2 09:39:17 2013 -0500
Add missing ChangeLog entry and generated files.
commit 1f8675d4c101d19d67ca0a55ff2ba973349558ad
Merge: 335f419 f6b58d2
Author: Anthony Green <green@moxielogic.com>
Date: Wed Jan 2 06:34:38 2013 -0800
Merge pull request #26 from rofl0r/master
fix build error on ppc when long double == double
commit 335f419a86090cda9f215d149572f9481c3ad034
Merge: 53236d5 6d6f711
Author: Anthony Green <green@moxielogic.com>
Date: Wed Jan 2 06:30:03 2013 -0800
Merge pull request #23 from rurban/master
cygwin/mingw shared libs need libtool LDFLAGS = -no-undefined