Log

Author Commit Date CI Message
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
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).
Richard Henderson 14be9a1d 2016-05-04T06:45:05 Merge pull request #245 from rth7680/tromey-ffi-prep-cif-core-is-private A rebase of #219
Tom Tromey b50eabf4 2016-02-22T16:00:51 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.
Tom Tromey 6c07077a 2016-02-21T20:08:21 Change ffi.h.in so that braces match This is a tiny refactoring to make it so brace-matching works in Emacs.
Tom Tromey 2fbc0369 2015-11-19T16:38:35 move ffi_prep_cif_core to ffi_common.h
Tom Tromey 1cea2737 2016-05-03T08:23:51 Merge pull request #231 from berkerpeksag/simplfy-oserror Simplify error handling in mkdir_p()
Richard Henderson 48bfae1f 2016-05-02T20:58:57 Merge pull request #236 from andreas-schwab/master Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32
Richard Henderson 6d871105 2016-05-01T11:02:40 Merge pull request #241 from rth7680/fix-win64 Fix win64 abi calling from unix64
Kylie McClain e169ba2b 2016-04-29T21:04:07 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.
Richard Henderson e5843a3a 2016-04-15T16:10:08 x86: Fix calling convention for ffi_closure_win64_inner Also enable testing for the cross-abi calls.
Richard Henderson d0675197 2016-03-07T12:14:22 x86: Copy fix for clang .org from unix64.S Clang doesn't understand .org with symbolic operands.
Thomas Schwinge c8845517 2016-02-25T20:10:18 Simplify/fix libffi_feature_test As detailed in <http://news.gmane.org/find-root.php?message_id=%3C87wppswqqt.fsf%40kepler.schwinge.homeip.net%3E>, the original code (originally added in commit f1301a54bb80e6ae23f7687c68f36875dae69134 as part of pull request #145) does not work (at least not for me, in the GCC environment).
Andreas Schwab d76975db 2016-03-16T12:23:07 Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32 Like x32, aarch64 ILP32 needs to define FFI_SIZEOF_JAVA_RAW. This fixes the java interpreter.
Anthony Green 9de24a3f 2016-03-14T13:54:53 Merge pull request #212 from tromey/struct-layout add ffi_get_struct_offsets
Berker Peksag 2627fc98 2016-03-07T18:43:03 Add a note about the --disable-docs switch Closes #204
Berker Peksag 6aafb565 2016-03-05T08:30:31 Simplify error handling in mkdir_p()
Anthony Green ee718066 2016-02-22T20:15:40 Merge pull request #227 from tromey/fix-documentation-build Fix documentation build
Tom Tromey 38a4d72c 2015-11-17T21:18:20 add ffi_get_struct_offsets
Tom Tromey e59fb55e 2016-02-22T15:51:27 remove and ignore texinfo.tex This file is provided by Automake
Tom Tromey 6dd5fd5a 2016-02-22T15:34:39 fix documentation building An earlier patch added --disable-docs, but went too far, making it impossible to build the docs. It turns out that Automake seemingly has a bug preventing the conditional build of an info file. So, this patch works around the bug by putting the info_TEXINFOS rule into a new doc/Makefile.am. Tested by building with and without --disable-docs and looking for the existence of doc/libffi.info.
Anthony Green f2f234ae 2016-02-20T06:50:29 Merge pull request #190 from havardgraff/master Add configure-option to disable building docs
Anthony Green 49b95eda 2016-02-20T06:49:40 Merge pull request #194 from amodra/master Correct powerpc sysv stack argument accounting
Anthony Green 415723b4 2016-02-20T06:49:19 Merge pull request #104 from joshtriplett/efi64 Support the Windows/EFI calling convention on all x86-64 targets
Anthony Green 7c27fcbe 2016-02-20T06:45:00 Merge pull request #199 from Pan7/master Fix configuring msvc compiler
Anthony Green 69143d06 2016-02-20T06:44:28 Merge pull request #197 from foxsen/mips_go_closure Mips go closure support
Anthony Green 755f1e64 2016-02-20T06:43:48 Merge pull request #193 from rth7680/fix-70 Test case from issue #70
Anthony Green 183ee6a6 2016-02-20T06:43:28 Merge pull request #206 from edolnx/master Add configure flag to disable multi-os-directory support
Anthony Green 0bb71b52 2016-02-20T06:41:10 Merge pull request #211 from tromey/move-prep-types-out-of-ffi.h ffi_prep_types is internal-only
Anthony Green 296a283a 2016-02-20T06:40:21 Merge pull request #213 from tromey/remove-FFI_TYPE remove FFI_TYPE typedef
Anthony Green e7c713a0 2016-02-20T06:40:03 Merge pull request #214 from tromey/document-enum-support document (lack of) enum handling in libffi
Anthony Green 79666abc 2016-02-20T06:38:40 Merge pull request #205 from filbranden/tool_opts Fix dejagnu test support for --tool_opts
Anthony Green 20c7c31c 2016-02-20T06:38:01 Merge pull request #225 from ehsan/safeseh Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode
Filipe Brandenburger 89b76050 2015-10-19T15:33:23 Fix dejagnu test support for --tool_opts Right now it concatenates it with the existing options and then appends it to that list, fix it to simply append it as is, same as it is done with the other variables. Tested by running the following command which includes gcc options: $ make check RUNTESTFLAGS="--tool_opts '-Werror'" Without this patch, all the tests fail. With it, the test succeed. Inspecting the logs shows that -Werror was indeed used when compiling the test sources.
Ehsan Akhgari 9c14cbfc 2016-01-28T16:57:18 Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode The commit fb25cd0 went a bit too far and removed safeseh when -clang-cl was passed, but that's only needed in x86-64 which is already handled by the -m64 flag. I discovered this when building Firefox x86 with clang-cl.
Anthony Green 6ba2a49e 2016-01-02T20:03:41 Merge pull request #222 from freakboy3742/t181 Fixed #181 -- Corrected problems with ARMv7 build under iOS.
Anthony Green 8005600a 2016-01-02T16:44:29 Merge pull request #224 from plicease/travis update apt-get in travis
Graham Ollis 5e2b18a6 2016-01-02T07:56:05 update apt-get in travis
Russell Keith-Magee 6a3a6acd 2015-12-21T00:37:37 Merge branch 'master' into t181
Russell Keith-Magee bc4fc07a 2015-12-21T00:37:06 Fixed #181 -- Corrected problems with ARMv7 build under iOS. Based on a patch from @fealebenpae, with input from @SolaWing and @rth7680, and testing from @superdump.
Anthony Green 70594f7f 2015-12-18T10:24:38 Merge pull request #221 from tromey/document-closure-ffi_arg Document closure ffi arg
Tom Tromey 6affad79 2015-12-17T16:58:10 correctly document closure return promotion
Tom Tromey 8a7cdeb0 2015-12-17T16:51:32 fix formatting of ffi_prep_closure_loc arguments
Tom Tromey f45e9e35 2015-11-19T15:21:14 document (lack of) enum handling in libffi
Tom Tromey 4805bf9c 2015-11-19T14:17:42 remove FFI_TYPE typedef
Tom Tromey 8bec5ca2 2015-11-11T21:34:43 ffi_prep_types is internal-only
Anthony Green 88deacdd 2015-11-15T08:39:17 speling fix
Anthony Green 5973dca5 2015-11-15T08:36:48 Merge pull request #209 from tromey/documentation-updates documentation fixes
Anthony Green 2a988c44 2015-11-15T08:33:46 Merge pull request #207 from tromey/deprecate-ffi-prep-closure mark ffi_prep_closure as deprecated
Tom Tromey 473bcbca 2015-11-07T12:01:06 documentation fixes Fixes #78. Documentation for #33 and #35, but no fix.
Tom Tromey ff33ddd1 2015-11-07T11:45:04 mark ffi_prep_closure as deprecated
Carl Perry 877ea9bf 2015-10-29T22:50:42 Add configure flag to disable multi-os-directory support In some environments, installing the library to GCC's multi-os-directory is not perferable. This patch adds a switch to configure "--disable-multi-os-directory" which will disable that check, typically falling back to ${libdir} unless cross-compiling. Original patch was written by Stewart Brodie, and was found at https://sourceware.org/ml/libffi-discuss/2013/msg00144.html I've just updated it to work with the current version.
Richard Henderson 4cdedc27 2015-07-25T14:29:15 Tidy call.exp test collection Commit c952a92e20aa6013d8202d0b3fa1d87838c83054 moved all of the complex tests to libffi.complex, but failed to remove the anti-globbing from libffi.call.
Richard Henderson 609db2fb 2015-07-25T12:42:04 Test case from Issue #70
Anthony Green e9de7e35 2015-10-11T10:54:50 Merge pull request #202 from tromey/note-prep-cif-var-usage document that there must be ntotalargs types
Anthony Green d19b6cc7 2015-10-11T10:54:22 Merge pull request #201 from tromey/fix-texinfo-buglet Add missing "@" to @var{}
Tom Tromey 0ebde2d2 2015-10-06T11:42:43 document that there must be ntotalargs types
Tom Tromey 36f3fb91 2015-10-05T10:20:05 Add missing "@" to @var{}
Pan7 e0612439 2015-09-14T08:25:09 Fix configuring msvc compiler
Zhang Fuxin 505346e1 2015-08-26T09:57:10 fix type error in unwind code
foxsen 5953c66b 2015-08-20T20:28:13 add unwind infor for *go_closure; reorder the labels to make thing more clear
Zhang Fuxin f0ecd5d4 2015-08-11T12:47:36 fix O32 stack unwind code add missing 1: label