Log

Author Commit Date CI Message
Saleem Abdulrasool 7ad0ae7f 2017-10-10T11:44:05 arm: zext return value parameters 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.
Tom Tromey 9f1f8741 2017-10-01T20:25:50 Merge pull request #319 from angerman/patch-5 Adds `local.exp` to DISTCLEANFILES
Moritz Angermann 6cf0dea7 2017-10-02T10:20:16 Change CLEANFILES to DISTCLEANFILES
Tom Tromey dca078f4 2017-10-01T20:19:53 Merge pull request #316 from angerman/patch-2 Add `configure.host` and `libtool-version` to the `EXTRA_DIST` files
Tom Tromey 540258d1 2017-10-01T20:17:02 Merge pull request #317 from angerman/patch-3 Add src/x86/asmnames.h to noinst_HEADERS
Moritz Angermann bccba9a3 2017-10-01T12:48:17 Merged
Moritz Angermann 6b6df1a7 2017-10-01T12:37:53 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.
Moritz Angermann 59d65d74 2017-10-01T12:23:31 Include `libtool-version` in the EXTRA_DIST files.
Moritz Angermann 4c6aa78d 2017-10-01T11:32:41 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.
Moritz Angermann a1e6ccb6 2017-10-01T11:28:40 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.
Anthony Green 93d8e7dd 2017-09-27T21:51:34 Fix #265
Anthony Green 02a5145a 2017-09-27T21:43:03 Merge pull request #263 from ksjogo/master fix ios builds
Anthony Green 10099d6c 2017-09-27T20:54:09 Merge pull request #271 from frida/fix/qnx-cache-flushing arm: Fix cache flushing on QNX
Anthony Green c8f1aa3d 2017-09-27T20:53:50 Merge pull request #307 from zw3rk/master Support -ios triple
Anthony Green db4dad97 2017-09-27T20:47:08 Merge pull request #312 from fjricci/fix_ub Fix misaligned memory access in ffi_call_int
Anthony Green 8a16f2f4 2017-09-27T20:45:15 Merge pull request #308 from trex58/master This patch enables FFI Go Closure on AIX.
Francis Ricci 9c12209d 2017-08-03T10:46:28 Fix misaligned memory access in ffi_call_int
Tom Tromey b2309106 2017-07-12T12:43:06 Merge pull request #309 from rurban/oldgcc __attribute__ deprecated (msg) only since gcc 4.5
Reini Urban 9c6cb588 2017-06-18T18:26:05 __attribute__ deprecated (msg) only since gcc 4.5 make it work with older compilers
Moritz Angermann 50e408ce 2017-05-21T20:44:10 add i?86-*-ios -- the iOS simulator (32bit)
Moritz Angermann a08cabe6 2017-05-21T20:25:16 add x86_64-*-ios -- the iOS simulator
Tony Reix 0ff9419f 2017-05-17T14:57:53 This patch enables FFI Go Closure on AIX.
Moritz Angermann 19ab448d 2017-05-16T08:32:06 Support -ios triple Autoconf hasn’t had an update since 2014, and it doesn’t look like it will soon[1] This updates config.{guess,sub} It adds support for e.g. `-ios`, which allows to have targets like `aarch64-apple-ios`. It basically does exactly what the config.guess script says: > It is advised that you download the most up to date version of the config scripts from The configure.ac script has been updated to relax `*-apple-darwin*` to `*-apple-*`. Similarly the `.gitignore` and `autogen.sh` needed to be updated to respect the newer `config.{sub,guess}` — [1]: http://lists.gnu.org/archive/html/autoconf/2016-07/msg00017.html
Tom Tromey c0cc9f1d 2017-05-08T15:20:39 Merge pull request #302 from gpakosz/align-macros Prefix ALIGN macros with FFI_
Gregory Pakosz bd72848c 2017-04-27T13:20:36 Prefix ALIGN macros with FFI_
ksjogo 7d504f7a 2017-03-30T13:32:58 update for xcode 8.3
Ole André Vadla Ravnås 57d8ff04 2017-03-15T01:43:11 Simplify iOS trampoline table allocation By using VM_FLAGS_OVERWRITE there is no need for speculatively allocating on a page we just deallocated. This approach eliminates the race-condition and gets rid of the retry logic.
ksjogo 7f558a9b 2016-07-25T01:18:30 set ios deployment target to 7.0
ksjogo e76fa94b 2016-07-14T11:28:18 fix ltmain.sh in xcode builds
ksjogo 22b2fd6f 2016-07-13T14:40:07 add valid architectures
Johannes Goslar 00406945 2016-07-12T16:08:42 Update Xcodeproj Include all currently relevent files. Call autogen is build script. Fix compiler settings. Fix mach include.
Anthony Green b841ae70 2017-03-19T07:42:09 remove stray quote
Anthony Green a94c999b 2017-03-19T07:36:07 Handle fastcall declaration differently for some Microsoft compilers
Anthony Green 69963d39 2017-03-19T07:33:39 We don't support 32-bit builds with the Microsoft toolchain
Anthony Green 073bc9d5 2017-03-19T07:25:24 Enable appveyor ci support
Anthony Green a0b14eea 2017-03-17T09:20:40 Merge pull request #291 from ramon-garcia/visual-studio-build Build with Visual C++ (64 bits)
Anthony Green fa5a0fe2 2017-03-16T07:50:07 Merge pull request #238 from KubaKaszycki/master Update README with a new port
Anthony Green 5b91bbd3 2017-03-16T00:40:58 Merge pull request #288 from yan12125/std-includedir Install public headers in the standard path
Anthony Green d754c510 2017-03-16T00:39:07 Merge pull request #299 from matijaskala/patch-1 detect other x32 hosts
Anthony Green ebe7f447 2017-03-16T00:36:10 Remove osx testing. gcc was symlinked to clang. dejagnu c++ tests fail with clang.
Anthony Green c9c2aa24 2017-03-15T09:58:39 Revert previous two changes. clang/MacOS problem can only be solved within dejagnu.
Anthony Green 5a8fca94 2017-03-15T09:52:39 Fix typo
Anthony Green 5b10a019 2017-03-15T09:34:01 Work around dejagnu/clang problems
Anthony Green b6751258 2017-03-15T08:54:52 Require sudo for installing packages
Matija Skala 41185b56 2017-03-15T12:50:41 detect other x32 hosts primarily x86_64-pc-linux-muslx32 while at it, add x86_64-x32-pc-linux-{gnu,musl} as well
Richard Henderson 6e2e041b 2017-03-14T19:37:45 Merge pull request #297 from frida/fix/error-path Fix error path so mutex is unlocked before returning
Ole André Vadla Ravnås d42ce7b9 2017-03-15T01:23:40 Fix error path so mutex is unlocked before returning In the unusual case where ffi_trampoline_table_alloc() fails.
Tom Tromey dabbd145 2017-02-27T21:10:00 Merge pull request #295 from terrillmoore/patch-1 Correct typos in libffi.texi
Terry Moore 6caabd19 2017-02-26T15:06:53 Correct typos in libffi.texi One "it's" should be "its", and one "is" should be "in".
Ramón García Fernández 1e0d107b 2017-01-08T20:12:59 Modify configure.host to detect compilation with Microsoft Visual C++ and use assembly with Intel syntax in that case
Yen Chi Hsuan 982b89c0 2016-11-13T19:17:19 Install public headers in the standard path
Anthony Green 60e4250a 2016-09-04T09:34:18 make executable
Anthony Green c3caf388 2016-09-04T09:21:18 Update travis to test linux 32/64 and osx with a mix of gcc and clang
Anthony Green c5b408ee 2016-09-04T09:17:46 xfail the unwindtest for osx as per issue #279
Richard Henderson 256ce51c 2016-09-01T13:54:51 Merge pull request #273 from wbx-github/master m68k: support ISA-A Coldfire CPUs
Richard Henderson 2ded2a4f 2016-09-01T13:30:45 Merge pull request #272 from yousong/mips64-soft-float Mips64 soft float
Tom Tromey 408c9c7d 2016-08-23T11:32:17 Merge pull request #274 from dr-hannibal/ykolerov-unused ARC: Remove unused variable
Yuriy Kolerov b545ff81 2016-08-23T20:23:37 ARC: Remove unused variable Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
Waldemar Brodkorb 52a11f6d 2016-08-20T00:52:19 m68k: support ISA-A Coldfire CPUs Fix compilation for m68k/coldfire CPUs like mcf5208. Signed-off-by: Thorsten Glaser <tg@mirbsd.de> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Yousong Zhou e247b562 2016-08-15T17:34:37 doc: fix typo Name of last argument to ffi_get_struct_offsets is `offsets`, not `sizes` Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Yousong Zhou 7a0d2c83 2016-08-15T15:00:13 mips: fix MIPS softfloat build issue The patch for o32.S is taken from OpenWrt packages repo 3a7a4bf "libffi: fix MIPS softfloat build issue with current binutils" Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Tom Tromey 06d7c519 2016-08-10T15:06:16 Merge pull request #269 from frida/fix/aarch64-variadic-closures-on-ios aarch64: Fix handling of variadic closures on iOS
Tom Tromey aa7ed78c 2016-08-10T15:03:37 Merge pull request #268 from frida/fix/aarch64-large-aggregates aarch64: Fix handling of aggregates larger than 16 bytes
Ole André Vadla Ravnås 4da814b1 2016-08-10T22:48:09 aarch64: Fix handling of aggregates larger than 16 bytes Instead of allocating stack space for a pointer we would allocate stack space for the actual aggregate size.
Tom Tromey 1daa7879 2016-08-10T14:31:09 Merge pull request #270 from frida/fix/aarch64-warnings Fix aarch64 warnings
s1341 ed848834 2016-08-10T14:57:22 arm: Fix cache flushing on QNX Use `msync()` directly as `__clear_cache()` is broken in the qnx650_gcc4.8.3 toolchain.
Ole André Vadla Ravnås 5e9ac7e2 2016-08-10T15:22:19 aarch64: Fix warning about unused function on iOS
Ole André Vadla Ravnås 4d1f11f6 2016-08-10T15:21:42 aarch64: Fix operand size warning reported by Clang
Ole André Vadla Ravnås 301166b1 2016-08-10T15:59:56 aarch64: Fix handling of variadic closures on iOS
Tom Tromey f03ba203 2016-08-02T10:23:25 Merge pull request #266 from dr-hannibal/arc-pthread Make testing easier outside of build directory and especially for ARC
Yuriy Kolerov ef8be84d 2016-07-29T21:01:38 Do not use fabsl() in float2.c test Some targets may support long double variables but in the same time may lack support of long double functions like fabsl(). Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
Yuriy Kolerov f3201733 2016-07-29T19:18:41 Fix output expectations in cls_dbls_struct.c test This test with invalid output expectations may fail on some targets (e.g. ARC processors). Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
Yuriy Kolerov f74ea2dc 2016-07-28T20:57:09 Allow setting an arbitary value for blddirffi in testsuite It is useful when tests are executed not from build directory. So the path of the build directory may be passed through site.exp or runtest. Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
Yuriy Kolerov 31362d78 2016-07-28T18:48:23 ARC: Link tests with pthread library Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
Richard Henderson 40e4063a 2016-07-07T23:11:38 Merge pull request #261 from tromey/fix-260 Don't dereference "ecif" before NULL check
Tom Tromey cf4b2a50 2016-06-17T10:09:44 Don't dereference "ecif" before NULL check Fixes #260
Richard Henderson c0829e62 2016-06-05T15:05:21 Merge pull request #259 from rth7680/master Mark win64.S with GNU-stack note
Richard Henderson 794a54d4 2016-06-05T14:57:00 Mark win64.S with GNU-stack note
Richard Henderson 96d9bf4b 2016-06-03T23:04:56 Merge pull request #253 from iains/darwin-build Some Darwin build fixes
Iain Sandoe 52fbd12d 2016-05-26T09:00:00 [Darwin-ppc, build] Fixes for clang build. 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.
Iain Sandoe 92810b4b 2016-05-26T08:56:51 [Darwin-x86, build] Fix up label prefixes, remove .purgem Darwin uses a label prefix of _. cctools assembler will not accept .purgem as a directive.
Iain Sandoe 30b3440c 2016-05-26T08:55:04 [Darwin, configure] Allow configure to work for <arch>-*-darwin. The exec configury is appropriate for all current targets (including using older tools on them).
Tom Tromey 02089a1b 2016-05-23T09:58:51 Merge pull request #237 from tschwinge/libffi_feature_test Simplify/fix libffi_feature_test
Richard Henderson 5d0365c6 2016-05-19T09:35:38 Merge pull request #251 from berkerpeksag/delete-test-define Remove unused FFI_CLOSURE_TEST
Berker Peksag 74b3f520 2016-05-19T18:05:36 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.
Tom Tromey 584a140e 2016-05-19T06:36:38 Merge pull request #248 from berkerpeksag/patch-1 Delete empty env in .travis.yml
Berker Peksag b3496ded 2016-05-19T10:53:07 Delete empty env in .travis.yml
Richard Henderson c6177549 2016-05-18T11:10:33 Merge pull request #247 from rth7680/symver Add parent to symbol version LIBFFI_BASE_7.1
Richard Henderson 33d9a31d 2016-05-18T11:01:55 Add parent to symbol version LIBFFI_BASE_7.1
Richard Henderson 9edaa695 2016-05-18T10:56:19 Merge pull request #230 from rth7680/symver Use ELF symbol versioning
Tom Tromey 0969a1c1 2016-05-18T10:09:28 Merge pull request #232 from berkerpeksag/signcompare Fix -Wsign-compare warnings in x86/ffi64.c
Tom Tromey 571b1ca6 2016-05-18T10:08:59 Merge pull request #233 from berkerpeksag/mremap Define _GNU_SOURCE on Linux for mremap()
Tom Tromey 069d2e4e 2016-05-18T10:07:31 Merge pull request #246 from berkerpeksag/update-github-links Update project URLs to use libffi/libffi
Berker Peksag 1b4f5ee6 2016-05-18T11:12:58 Update project URLs to use libffi/libffi
Berker Peksag 1e82e1cd 2016-03-07T18:38:10 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.
Berker Peksag 4a677a42 2016-03-05T09:58:38 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.
Tom Tromey a44a5b86 2016-05-17T17:07:27 Merge pull request #234 from berkerpeksag/disable-docs Add a note about the --disable-docs switch
Tom Tromey 9443eaed 2016-05-17T17:04:50 Merge pull request #242 from somasis/master Fix usage on musl libc
Richard Henderson 8a0a4e25 2016-05-04T07:33:41 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.
Richard Henderson c02c3414 2016-03-03T13:51:44 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).