Skip to content

Commit

Permalink
Update libffi as subtree
Browse files Browse the repository at this point in the history
commit 8cc8f446f5aac13e107161dffbc15d1ee1a58878
Author: Mike Hommey <[email protected]>
Date:   Tue Nov 10 20:41:33 2020 +0900

    Allow to build with mingw-clang (#579)

    For some reason, compiling sysv.S with mingw-clang fails with:
    ```
    error: invalid variant 'ffi_closure_inner@8'
    ```

    This can be fixed (worked around?) by quoting the symbol. This works
    fine with mingw-gcc too.

commit d817d0daa312c58548d7a081aa876027ca103766
Author: Mike Hommey <[email protected]>
Date:   Tue Nov 10 20:39:25 2020 +0900

    Don't use FFI_TYPE_LONGDOUBLE in the jump table in win64*.S (#580)

    It may have the same value as FFI_TYPE_DOUBLE per ffi.h, which
    possibly can make things go wrong with .org/ORG.

    For instance, GCC complains about "Error: attempt to move .org
    backwards"

commit 56f7df711f70414d4f3663b34e54b122b38bab88
Author: AndreRH <[email protected]>
Date:   Tue Nov 10 12:27:59 2020 +0100

    aarch64: Allow FFI_WIN64 for winelib (#593)

commit 8111cd06921e80d5d7192ce8d1f64733072fdbcd
Author: Brandon Bergren <[email protected]>
Date:   Tue Oct 27 09:07:38 2020 -0500

    Add support for powerpc64le-*-freebsd*. (#581)

    Tests pass with no additional changes needed, tested on hardware.

commit 484c1a0d7536be60002473f7bb82223efe139883
Author: Ken <[email protected]>
Date:   Tue Oct 27 07:07:07 2020 -0700

    darwin powerpc: use go closures only if enabled (#583)

    SHA: 0ff9419f2e75652426469e256cb7d0748064ad58 added go closures for darwin powerpc AIX, but
    these have not yet been implemented for non-AIX systems

    use the go closures only if enabled

commit 032b3cd6f7850f3ebc1269eeab7d1db3ea518d29
Author: Jeremy Huddleston Sequoia <[email protected]>
Date:   Tue Oct 27 07:06:21 2020 -0700

    Support building x86 and arm64 without FFI_GO_CLOSURES (#586)

    * x86: Support building without FFI_GO_CLOSURES

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * arm: Support building without FFI_GO_CLOSURES

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

commit 93cf288ddd59c7cb203c1aba25de5e5b8f308da6
Author: Jeremy Huddleston Sequoia <[email protected]>
Date:   Tue Oct 27 07:05:28 2020 -0700

    testsuite: Add a missing include of <inttypes.h> to fix build failure in test suite (#587)

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

commit c78fcf88ab13a5cc414826a018dd46c3f886adee
Author: petersn <[email protected]>
Date:   Tue Oct 27 07:02:36 2020 -0700

    Removing unnecessary instruction from ffi_call_unix64 (#588)

    unix64.S's `ffi_call_unix64` looks like it used to take six parameters,
    where the sixth said the number of SSE register arguments. However,
    currently the function only takes five parameters, and the number of SSE
    register arguments is encoded in the `struct register_args *` passed as
    the first parameter to `ffi_call_unix64`. This change removes an
    instruction that tries to use this missing sixth parameter as the number
    of SSE arguments.

    This fix should not change any behavior, nor fix any bugs, because a few
    instructions later the value moved from %r9d into %eax is overwritten by
    the correct value anyway. This change merely makes the code a tad less
    confusing, because currently the assembly moves from a register (r9)
    whose value is never set.

commit 2d86809db6d1d626a9df40c283ec564ac98ff85d
Author: jacobly0 <[email protected]>
Date:   Tue Oct 27 10:00:03 2020 -0400

    Fix read-only .eh_frame section test when CFLAGS contains -flto. (#590)

commit f4435980fa2da335fe388db431d4a7946a99a2b9
Author: Alan Modra <[email protected]>
Date:   Tue Oct 27 23:36:21 2020 +1030

    Power10 libffi fixes (#585)

    Power10 pc-relative code doesn't use or preserve r2 as a TOC pointer.
    That means calling between pc-relative and TOC using code can't be
    done without intervening linker stubs, and a call from TOC code to
    pc-relative code must have a nop after the bl in order to restore r2.

    Now the PowerPC libffi assembly code doesn't use r2 except for the
    implicit use when making calls back to C, ffi_closure_helper_LINUX64
    and ffi_prep_args64.  So changing the assembly to interoperate with
    pc-relative code without stubs is easily done.

    	* src/powerpc/linux64.S (ffi_call_LINUX64): Don't emit global
    	entry when __PCREL__.  Call using @notoc.  Add nops.
    	* src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Likewise.
    	(ffi_go_closure_linux64): Likewise.

commit 407394c0aac2db4a1978a7691035889db9924a01
Author: Tim Gates <[email protected]>
Date:   Sun Oct 11 15:07:40 2020 +1100

    docs: fix simple typo, paramters -> parameters (#589)

    There is a small typo in src/x86/ffi.c.

    Should read `parameters` rather than `paramters`.

commit ead65ca8711aa07efc0453f67136aff82f33c01f
Author: Anthony Green <[email protected]>
Date:   Wed Aug 19 08:34:09 2020 -0400

    Re-enable s390x testing

commit 8276f812a99b10d1f2c387dbd6ef2ca4f597c733
Author: Niclas Zeising <[email protected]>
Date:   Fri Aug 7 21:05:23 2020 +0200

    Upstream local FreeBSD patches (#567)

    * Add support for FreeBSD mips

    Add support for FreeBSD mips, this has been a local patch in the FreeBSD
    ports tree for quite some time.

    Originally submitted by sson, and committed by sbruno AT FreeBSD DOT org
    See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191909 for
    background details.

    Signed-off-by: Niclas Zeising <[email protected]>

    * Add support for FreeBSD powerpcspe

    Add support for powerpcspe on FreeBSD
    This has been in the FreeBSD ports tree for some time.
    Originally submitted by jhibbits AT FreeBSD DOT org.

    Signed-off-by: Niclas Zeising <[email protected]>

    * Fix abort() on FreeBSD arm related to __clear_cache()

    This patch has been in the FreeBSD ports tree for a number of years.
    Original commit by koobs AT FreeBSD DOT org

    Original commit message:
    > devel/libffi: Fix abort() on ARM related to __clear_cache()
    >
    > The current FreeBSD/ARM __clear_cache() implementation does nothing #if
    > __i386__ || __x86_64__ #else abort();
    >
    > cognet@ advises this is an issue for anything !Apple that is using the
    > libcompiler_rt provided by Clang on ARM, and requires upstreaming.

    See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149167 for some
    background details.

    Signed-off-by: Niclas Zeising <[email protected]>

commit 392afbaf60663e530bd740da0b5a39ee9f4ba052
Author: Anthony Green <[email protected]>
Date:   Wed Aug 5 21:38:51 2020 -0400

    Don't test s390.  Travis-ci is broken.

commit e08eb1ced18598a26cd7f14fea05693e89638ed2
Author: Anthony Green <[email protected]>
Date:   Wed Aug 5 17:59:59 2020 -0400

    Add support for eabisim back.  This was removed upstream.

commit 4661ba7928b49588aec9e6976673208c8cbf0295
Merge: 45875da4b 1a4b786df
Author: Tom Tromey <[email protected]>
Date:   Tue Aug 4 11:08:19 2020 -0600

    Merge pull request #576 from froydnj/config-updates

    update config.{guess,sub}

commit 1a4b786df34b61af7b6738a2ce7b8d34f5377a71
Author: Nathan Froyd <[email protected]>
Date:   Tue Aug 4 12:17:04 2020 -0400

    update config.{guess,sub}

    This change is primarily for aarch64 macOS support, since that configuration
    is now properly supported upstream.

commit 45875da4bc71578f6f45471141c14e1743239b7e
Merge: fbd1de85f 8e58f88d3
Author: Tom Tromey <[email protected]>
Date:   Wed Jul 1 09:32:37 2020 -0600

    Merge pull request #570 from jwilk-forks/spelling

    aarch64: Fix typo

commit 8e58f88d33eb878b0fbca1433f83bbf872d5d0f3
Author: Jakub Wilk <[email protected]>
Date:   Tue Jun 30 22:59:28 2020 +0200

    aarch64: Fix typo

commit fbd1de85f6532f8a8f61abbd7892f8cb58b233d0
Author: Ma Jun <[email protected]>
Date:   Mon Jun 29 08:02:20 2020 -0400

    Add support for csky

commit 0027b072627aa9d3ada71c4374561966064ecd5a
Author: M. Herdiansyah <[email protected]>
Date:   Thu Jun 11 19:40:24 2020 +0700

    Makefile: increase compatibility with bmake (#551)

commit b7af8f47d5fff2957521dc269637c00b8a4b6c75
Author: Andre Miras <[email protected]>
Date:   Thu Jun 11 14:38:59 2020 +0200

    Fixes macOS build on Python 3 (#563)

    The error was:
    ```
    Traceback (most recent call last):
      File "_generate-darwin-source-and-headers.py", line 209, in <module>
        generate_source_and_headers(generate_osx=not args.only_ios, generate_ios=not args.only_osx)
      File "_generate-darwin-source-and-headers.py", line 197, in generate_source_and_headers
        for header_name, tag_tuples in platform_headers.iteritems():
    AttributeError: 'collections.defaultdict' object has no attribute 'iteritems'
    ```

commit 5c45c40c04f89cf67ade3fdfa99915ca5409e51a
Author: Kentaro Hayashi <[email protected]>
Date:   Thu Jun 11 21:37:41 2020 +0900

    Fix Free software foundation address (#564)

    ref. https://www.fsf.org/about/contact/

commit 2e90bb5577ea1fe3bc1716954e790999bc3549f7
Author: Anthony Green <[email protected]>
Date:   Sun Jun 7 14:31:06 2020 -0400

    Add gcc bug tests back

commit 5e6ca054148dfb4d78e6f79457d48b745f919def
Author: Yann Sionneau <[email protected]>
Date:   Fri May 1 13:59:11 2020 +0200

    Add support for Kalray KVX architecture (#559)

commit 4f9e20ac51ce13d46fed3c869e1deb6d9bb89444
Author: Andrew Geissler <[email protected]>
Date:   Fri May 1 06:58:30 2020 -0500

    ffi_powerpc.h: fix build failure with powerpc7 (#561)

    This is a patch pulled down from the following:
    https://github.com/buildroot/buildroot/blob/78926f610b1411b03464152472fd430012deb9ac/package/libffi/0004-ffi_powerpc.h-fix-build-failure-with-powerpc7.patch

    This issue is being hit on OpenBMC code when pulling the latest
    libffi tag and building on a P8 ppc64le machine. I verified this
    patch fixes the issue we are seeing.

    Below is the original commit message:

    Sicne commit 73dd43afc8a447ba98ea02e9aad4c6898dc77fb0, build on powerpc7
    fails on:

    In file included from ../src/powerpc/ffi.c:33:0:
    ../src/powerpc/ffi_powerpc.h:61:9: error: '_Float128' is not supported on this target
     typedef _Float128 float128;
             ^~~~~~~~~

    Fix this build failure by checking for __HAVE_FLOAT128 before using
    _Float128, as _Float128 is enabled only on specific conditions, see
    output/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/floatn.h:

     /* Defined to 1 if the current compiler invocation provides a
        floating-point type with the IEEE 754 binary128 format, and this glibc
        includes corresponding *f128 interfaces for it.  */
     #if defined _ARCH_PWR8 && defined __LITTLE_ENDIAN__ && (_CALL_ELF == 2) \
         && defined __FLOAT128__ && !defined __NO_LONG_DOUBLE_MATH
     # define __HAVE_FLOAT128 1
     #else
     # define __HAVE_FLOAT128 0
     #endif

    Fixes:
     - http://autobuild.buildroot.org/results/5c9dd8fb3b6a128882b6250f197c80232d8a3b53

    Signed-off-by: Fabrice Fontaine <[email protected]>
    Signed-off-by: Andrew Geissler <[email protected]>

    Co-authored-by: Fabrice Fontaine <[email protected]>

commit 053b04c525a00abdc25ec646096a44208a1b9423
Author: Martin Storsjö <[email protected]>
Date:   Sun Apr 26 05:02:14 2020 +0300

    arm: Fix the clang specific version of the assembly (#556)

    Also fix the same error in the comment for the non-clang case.
    That typo there seems to have existed since the code was written
    in that form, in e7f15f60e86 - and when the clang specific codepath
    was added in e3d2812ce43, the typo in the comment made it into the
    actual code.

commit c543849c3767cc0f0a84e3ed7b664a63724ed516
Author: Martin Storsjö <[email protected]>
Date:   Sun Apr 26 05:01:03 2020 +0300

    win64_armasm: Fix the spelling of ALIGN (#553)

commit 15d3ea31a53bd0e5b828c90a9f7c4285c58f73e1
Author: Martin Storsjö <[email protected]>
Date:   Sun Apr 26 04:59:35 2020 +0300

    Use __builtin_ffs instead of ffs (#554)

    USE_BUILTIN_FFS is defined to 1 within __GNUC__, and the __builtin_ffs
    function is available since GCC 3.x at least, while the ffs function
    only exists on some OSes.

    This fixes compilation for non-x86 mingw platforms. For x86,
    USE_BUILTIN_FFS is explicitly disabled for windows targets - but
    if USE_BUILTIN_FFS is enabled based on __GNUC__, it should also use
    the builtin which actually is available correspondingly, not dependent
    on the target OS.

commit c06468fa6674d3783a0edb1d0fae9afc8bc28513
Author: Martin Storsjö <[email protected]>
Date:   Sun Apr 26 04:58:33 2020 +0300

    Fix building for aarch64 windows with mingw toolchains (#555)

    * aarch64: Check _WIN32 instead of _M_ARM64 for detecting windows

    This fixes building for aarch64 with mingw toolchains. _M_ARM64 is
    predefined by MSVC, while mingw compilers predefine __aarch64__.

    In aarch64 specific code, change checks for _M_ARM64 into checks for
    _WIN32.

    In arch independent code, check for
    (defined(_M_ARM64) || defined(__aarch64__)) && defined(_WIN32)
    instead of just _M_ARM64.

    In src/closures.c, coalesce checks like
    defined(X86_WIN32) || defined(X86_WIN64) || defined(_M_ARM64)
    into plain defined(_WIN32). Technically, this enables code for
    ARM32 windows where it wasn't, but as far as I can see it, those
    codepaths should be fine for that architecture variant as well.

    * aarch64: Only use armasm source when building with MSVC

    When building for windows/arm64 with clang, the normal gas style .S
    source works fine. sysv.S and win64_armasm.S seem to be functionally
    equivalent, with only differences being due to assembler syntax.

commit 8c50837f0b58ba5b2bcb1b424a2a4bfa01559fb2
Author: Fangrui Song <[email protected]>
Date:   Tue Mar 10 04:36:09 2020 -0700

    Improve read-write .eh_frame check (#546)

    llvm-objdump -h does not print BFD SEC_* constants like "READONLY",
    so the check will consider .eh_frame writable.
    clang 11 (since https://reviews.llvm.org/D73999) will error for mismatching section flags.

    Use readelf -S and check "WA" instead.

commit 4a6414f2785a60f455c91fdd04f7745fe7fc11e0
Author: Moxie Bot <[email protected]>
Date:   Mon Mar 9 21:10:53 2020 -0400

    Mention ARM Pointer Authentication

commit 909b37ffffe2a0bb08947b07508a3a4eed5f36a8
Author: Moxie Bot <[email protected]>
Date:   Mon Mar 9 21:10:33 2020 -0400

    Test on aarch64 Linux with clang

commit 4c7bde32ea3af479babdf527d94f241282951cb9
Author: Ole André Vadla Ravnås <[email protected]>
Date:   Tue Mar 10 02:05:42 2020 +0100

    Port to iOS/arm64e (#548)

commit 211e929df4388a6724b0dba4df4e3a1283dc49e9
Author: Anthony Green <[email protected]>
Date:   Mon Mar 9 12:39:22 2020 -0400

    Try to fix RLGL_KEY nonsense (#547)

    * Try to fix RLGL_KEY nonsense

    * Hard code policy bound API key

    Co-authored-by: Anthony Green <[email protected]>

commit 8eb2d2b05626b1cbbed100725bc440709499e8a6
Author: Moxie Bot <[email protected]>
Date:   Mon Feb 24 10:29:20 2020 -0500

    Revamp PA_LINUX and PA_HPUX target closures to use function descriptors.

    	2020-02-23  John David Anglin  <[email protected]>

    	* include/ffi.h.in (FFI_CLOSURE_PTR, FFI_RESTORE_PTR): Define.
    	* src/closures.c (ffi_closure_alloc): Convert closure pointer
    	return by malloc to function pointer.
    	(ffi_closure_free): Convert function pointer back to malloc pointer.
    	* src/pa/ffi.c (ffi_closure_inner_pa32): Use union to double word
    	align return address on stack.  Adjust statements referencing return
    	address.  Convert closure argument from function pointer to standard
    	closure pointer.
    	(ffi_prep_closure_loc): Likewise convert closure argument back to
    	closure pointer.  Remove assembler trampolines.  Setup simulated
    	function descriptor as on ia64.
    	src/pa/ffitarget.h (FFI_TRAMPOLINE_SIZE): Reduce to 12.
    	src/pa/hpux32.S (ffi_closure_pa32): Retrieve closure pointer and real
    	gp from fake gp value in register %r19.
    	src/pa/linux.S (ffi_closure_pa32): Likewise.

commit be815544c1588c6ca70120361c168b196376aa56
Author: hjl-tools <[email protected]>
Date:   Sun Feb 23 07:45:42 2020 -0800

    Update the ABI version to LIBFFI_BASE_8.0 (#544)

    Since x86 and x86-64 FFI_TRAMPOLINE_SIZE have been increased, we must
    bump the ABI version.  This fixes:

    https://github.com/libffi/libffi/issues/543

commit d9abffeabe4f38bac12b864146cf974ede814411
Author: hjl-tools <[email protected]>
Date:   Sat Feb 22 06:32:22 2020 -0800

    x86: Fix ffi_prep_closure_loc (#542)

    Since FFI_TRAMPOLINE_SIZE is increased by 4 bytes to add ENDBR32, adjust
    jump displacement by 4 bytes.

commit 624c7a35f7e1d12f917453d6c657cd5947ac57f7
Merge: 4c775d7cd 785565614
Author: Moxie Bot <[email protected]>
Date:   Fri Feb 21 22:13:14 2020 -0500

    Merge branch 'master' of github.com:/libffi/libffi

commit 4c775d7cd6e914c6a2f66465497106cff360aeb5
Author: Moxie Bot <[email protected]>
Date:   Fri Feb 21 22:12:34 2020 -0500

    Update for pending 3.4 release.

commit 7855656148b96c7070ec362d2a73af840025a2b7
Author: hjl-tools <[email protected]>
Date:   Fri Feb 21 19:08:06 2020 -0800

    x86: Add indirect branch tracking support (#540)

    Intel Control-flow Enforcement Technology (CET):

    https://software.intel.com/en-us/articles/intel-sdm

    contains shadow stack (SHSTK) and indirect branch tracking (IBT).  When
    CET is enabled, ELF object files must be marked with .note.gnu.property
    section.  When Intel CET is enabled, include <cet.h> in assembly codes
    to mark Intel CET support.

    Also when IBT is enabled, all indirect branch targets must start with
    ENDBR instruction and notrack prefix can be used to disable IBT on
    indirect branch.  <cet.h> defines _CET_ENDBR which can be used in
    assembly codes for ENDBR instruction.  If <cet.h> isn't included,
    define _CET_ENDBR as empty so that _CET_ENDBR can be used in assembly
    codes.

    Trampoline must be enlarged to add ENDBR instruction unconditionally,
    which is NOP on non-CET processors.  This is required regardless if
    libffi is enabled with CET since libffi.so will be marked in legacy
    bitmap, but trampoline won't.  Update library version for larger
    FFI_TRAMPOLINE_SIZE.

    This fixed:

    https://github.com/libffi/libffi/issues/474

    Tested with

    $ CC="gcc -Wl,-z,cet-report=error -fcf-protection" CXX="g++ -Wl,-z,cet-report=error -fcf-protection" .../configure

    on Linux CET machines in i686, x32 and x86-64 modes.

commit 4d6d2866ae43e55325e8ee96561221804602cd7a
Author: Samuel Holland <[email protected]>
Date:   Fri Feb 21 21:06:15 2020 -0600

    Update powerpc sysv assembly for ffi_powerpc.h changes (#541)

    Some of the flag bits were moved when adding powerpc64 vector support.

    Fixes #536

commit b844a9c7f1ca792a1dfb0c09d5dae576178e6729
Author: Anthony Green <[email protected]>
Date:   Fri Jan 10 10:22:10 2020 -0500

    Update copyright year.

commit 81b5491a4ef46103f2e1be79d368e76dba021ffa
Author: Anthony Green <[email protected]>
Date:   Sun Jan 5 21:37:05 2020 -0500

    Fix script

commit 1e08a45535d929915e14e48af38e45f8c8e4f8de
Author: Anthony Green <[email protected]>
Date:   Sun Jan 5 21:18:23 2020 -0500

    Use rlgl API key on login

commit e50b9ef8b910fa642ef158f6642e60d54d7ad740
Author: Khem Raj <[email protected]>
Date:   Sat Dec 7 02:34:14 2019 -0800

    powerpc64: Use memcpy to help platforms with no __int128. (#534)

    Signed-off-by: Khem Raj <[email protected]>

commit f9da75e157ab089363d079a781644c3e6f7db2c3
Author: Anthony Green <[email protected]>
Date:   Sat Nov 30 07:37:19 2019 -0500

    Remove 32-bit x86 file references to fix macosx builds

commit 76c0cfea70f78586231d7994492396eebfb12d5f
Author: Carl Hurd <[email protected]>
Date:   Fri Nov 29 14:46:11 2019 -0500

    Fixed missed #ifndef for __mips_soft_float (#442)

    Thank you!

commit 98da256096c63406ef77f92369ada622c50ce388
Author: Anthony Green <[email protected]>
Date:   Fri Nov 29 14:29:51 2019 -0500

    Clean up macosx builds

commit 6663047f56c2932a6b10a790f4ac6666dd181326
Author: Anthony Green <[email protected]>
Date:   Fri Nov 29 07:00:35 2019 -0500

    Address platforms with no __int128.

commit 0069526c5adea9e6268b8a0087a6120c9c5c89fa
Author: Anthony Green <[email protected]>
Date:   Thu Nov 28 18:58:40 2019 -0500

    Make build errors easier to debug

commit 43887a9108f10124d05c8e0e67f3942cd980cb86
Author: Anthony Green <[email protected]>
Date:   Thu Nov 28 17:44:51 2019 -0500

    Add powerpc-eabi

commit 29297445da5c2c9437de0e20f3189799a27f0301
Author: Anthony Green <[email protected]>
Date:   Thu Nov 28 17:31:44 2019 -0500

    Test on powerpc-eabisim

commit 01a75ed76ea7e57f1b7a5c183e2b1e890e6aa0fd
Author: Sergei Trofimovich <[email protected]>
Date:   Thu Nov 28 12:42:41 2019 +0000

    powerpc: fix build failure on power7 and older (#532)

    Build failure looks as:
    ```
    libtool: compile:  powerpc-unknown-linux-gnu-gcc \
        -O2 -mcpu=powerpc -mtune=powerpc -pipe ... -c src/powerpc/ffi.c ...
    In file included from src/powerpc/ffi.c:33:
    src/powerpc/ffi_powerpc.h:65:9: error: '__int128' is not supported on this target
       65 | typedef __int128 float128;
          |         ^~~~~~~~
    ```

    The fix avoids using __int128 in favour of aligned char[16].

    Closes: https://github.com/libffi/libffi/issues/531
    Signed-off-by: Sergei Trofimovich <[email protected]>

commit 1ec01ea81cf18e12748082f48f7c279a3fdd505d
Author: Anthony Green <[email protected]>
Date:   Sun Nov 24 22:47:48 2019 -0500

    Run aarch64-linux-gnu tests on travi-ci directly

commit 66022e52ec0409f9170eb0884c6d0bdd048bc04e
Author: Anthony Green <[email protected]>
Date:   Sun Nov 24 16:52:14 2019 -0500

    Fixes for ppc64le and s390x travis testing

commit 932e5bb68a603885e4bd9cf1bd5146542f736ccf
Author: Anthony Green <[email protected]>
Date:   Sun Nov 24 16:26:14 2019 -0500

    Force the use of docker

commit 803db14c5a0aeb52ee521fe4fe4a7919926373de
Merge: 86be66c8f fb914c366
Author: Anthony Green <[email protected]>
Date:   Sun Nov 24 16:10:22 2019 -0500

    Merge branch 'master' of github.com:libffi/libffi

commit 86be66c8f608a84caea2ef724698093d2da2e5e2
Author: Anthony Green <[email protected]>
Date:   Sun Nov 24 16:09:44 2019 -0500

    Try travis-ci's new ppc64le and s390x support

commit fb914c366fabb29ac373050ca0bfa4d9c1fef149
Author: Panayotis <[email protected]>
Date:   Sun Nov 24 18:25:13 2019 +0200

    disable obsolete 32-bit targets in macOS (#511)

commit fd99c95f90f85963f5ec88630c0428a8132012db
Author: Anthony Green <[email protected]>
Date:   Sun Nov 24 11:11:25 2019 -0500

    Minor clean-up

commit 5dcb741f1544c5e18c9dbf96aeb8b61cc556a616
Author: Anthony Green <[email protected]>
Date:   Sat Nov 23 10:24:58 2019 -0500

    Move nested_struct3 test to closures directory

commit 1aca33301a791f503d943f5e3abe2c720296eb8f
Author: Anthony Green <[email protected]>
Date:   Sat Nov 23 09:42:04 2019 -0500

    Add missing closing brace

commit d996cb283cf373936498defa902be040ec20455e
Author: Anthony Green <[email protected]>
Date:   Sat Nov 23 09:00:14 2019 -0500

    Version 3.3

commit c72b82f465148b89f118ee73f8956dafdbac9b65
Author: Anthony Green <[email protected]>
Date:   Sat Nov 23 08:48:53 2019 -0500

    Remove junk file from dist

commit 642d40ee6ae9a779b3c5ad930785d4b33cf94029
Author: Anthony Green <[email protected]>
Date:   Sat Nov 23 07:49:58 2019 -0500

    Account for moved test files

commit 049da08a22b0ca6d63d2be6c209da5ac1335365c
Author: Anthony Green <[email protected]>
Date:   Sat Nov 23 07:44:26 2019 -0500

    Add dejagnu directives accidentally removed

commit 36730f5d87c2a432e1b3bf1a0129fedbf4b0a488
Author: Anthony Green <[email protected]>
Date:   Fri Nov 22 19:49:38 2019 -0500

    Move closure test to closure directory

commit c88c0e92a9fbb4e69513394682c61aa848a035cc
Author: Anthony Green <[email protected]>
Date:   Fri Nov 22 19:27:34 2019 -0500

    More more closure tests to the closure test directory

commit a37cc1755cc276b2b9e601b9b112919f8c882a2e
Merge: 332a539e8 247a5e787
Author: Anthony Green <[email protected]>
Date:   Fri Nov 22 18:55:36 2019 -0500

    Merge branch 'master' of github.com:libffi/libffi

commit 332a539e88d26a0524c10a39283a3099d071ca10
Author: Anthony Green <[email protected]>
Date:   Fri Nov 22 18:54:30 2019 -0500

    Move closure tests so we can easily XFAIL them for some targets

commit 1761a10645dadc0840bf1ff3a4998f9a342e8cad
Author: Anthony Green <[email protected]>
Date:   Fri Nov 22 18:53:09 2019 -0500

    Remove gccbug detection.  GCC is good now.

commit 247a5e7878379b7af33338d51898d7fb9e82e686
Author: Michael Haubenwallner <[email protected]>
Date:   Fri Nov 22 20:17:58 2019 +0100

    Capture x86-windows host like x86_64-windows (#529)

commit 8e3935fa761d3e6f19ccf5e6733fd40dee637d94
Author: Anthony Green <[email protected]>
Date:   Fri Nov 22 12:42:26 2019 -0500

    Manual clean-ups, and include the PDF in the source distribution.

commit d01088a5194ff1a2250e7dbee04a9a167b582db7
Author: Anthony Green <[email protected]>
Date:   Thu Nov 21 05:36:06 2019 -0500

    Mention more major port contributors

commit 970b7fce4f804df57ec582a0220c22eaeccc239a
Author: Anthony Green <[email protected]>
Date:   Thu Nov 21 05:04:54 2019 -0500

    Update autoconf-archive m4 macros

commit 34a3a661b80c0fa7817c0654ae9fd0686d3b8cd2
Author: Anthony Green <[email protected]>
Date:   Thu Nov 21 04:59:39 2019 -0500

    Fix formatting of README.

commit 91a7fbe94e3884536cf2eb8e644bc79d6b19c80e
Author: Anthony Green <[email protected]>
Date:   Wed Nov 20 07:16:41 2019 -0500

    Fix or1k lack-of-g++ checking in testsuite

commit 31543c799a224ef446cef19a2372b054ecad3822
Author: Anthony Green <[email protected]>
Date:   Wed Nov 20 06:15:55 2019 -0500

    Add work-around for users who manage their own closure memory

    As suggested by DJ

commit bd3a4687c0743076f420dee2a02075fd64fa547e
Author: Anthony Green <[email protected]>
Date:   Tue Nov 19 17:14:23 2019 -0500

    No C++ for or1k-unknown-elf

commit d6e4f96b482690e6cdaf67a70bb33d1bfe0acd15
Author: Anthony Green <[email protected]>
Date:   Tue Nov 19 13:36:49 2019 -0500

    No C++ for or1k

commit 497018686d4df0012ea7bf1a4ab41b918b5e65bc
Author: Anthony Green <[email protected]>
Date:   Tue Nov 19 10:07:16 2019 -0500

    Disable type warnings for or1k.

commit 262cf74fd4003a928ca73e96ef8698546e535c46
Author: Anthony Green <[email protected]>
Date:   Tue Nov 19 10:06:57 2019 -0500

    No c++ for or1k-elf

commit 54fc80dfd8d608ec718cade762c358b8fd819f38
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 15:20:00 2019 -0500

    Fake TRAVIS_BUILD_DIR

commit 6f734f8a5ff13d106f81741c11c7cb2551706c7f
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 15:13:16 2019 -0500

    Adapt for new old ChangeLog file

commit 27d31130cabfe82683fc0e3e82247fd522f45607
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 15:06:51 2019 -0500

    Fix DEJAGNU variable

commit da1358816e7b02e6f8431e4df336d0934bcabd4c
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 14:54:14 2019 -0500

    Set vars

commit 9a394c24951f3fc5cfbd0ff268278a7b45afc77e
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 14:45:29 2019 -0500

    Remove verbosity

commit 14bfbec0fd312001f7922ee6100cbc3155ae585b
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 14:40:30 2019 -0500

    Pull before running

commit dfa60e5eb44482d45b8c79b815e6b6789e62ce18
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 14:02:33 2019 -0500

    Fix cross builds for or1k

commit a8223271a3d7ff1e8a1553c2a5ed9b4e1a24a774
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 13:59:10 2019 -0500

    More cross build debugging

commit 8c9cf44cb2a2d46ddcb148508fb5350438b4a62b
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 13:47:42 2019 -0500

    Set path to simulator. Add debugging output.

commit 581048f91e9e25e3b17a2906edd8840f35999918
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 13:17:27 2019 -0500

    Be specific when building CI container images

commit bbea6394f9f27de68aac037abb264151d6de9f64
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 13:06:26 2019 -0500

    Capture more or1k hosts

commit 97e3b1fe1a0fbdb43bf28fe6198cb26eaa719c93
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 13:02:44 2019 -0500

    Add test support for or1k. Fix yaml typo.

commit c88f4d2677d4dc6659a1aa6418e636f8fcf9bd9b
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 12:25:51 2019 -0500

    Fix typo for m32r and bfin builds

commit 93c203b347ea7d110355e12f832725f755e10eff
Merge: d087b5956 73dd43afc
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 06:35:19 2019 -0500

    Merge branch 'master' of github.com:libffi/libffi

commit d087b595637ebb795c0cec1ff0c4409befb486b7
Author: Anthony Green <[email protected]>
Date:   Mon Nov 18 06:34:42 2019 -0500

    Build/test for m32r-elf and bfin-elf

commit b6804d16453890b78844b1b3c1acf16af98cadb8
Author: Anthony Green <[email protected]>
Date:   Sun Nov 17 09:19:14 2019 -0500

    Mention binary128 long double support for Power

commit 73dd43afc8a447ba98ea02e9aad4c6898dc77fb0
Author: Samuel Holland <[email protected]>
Date:   Sun Nov 17 07:22:25 2019 -0600

    IEEE754 binary128 long double support for PowerPC64 (#526)

    * powerpc: Adjust flags to make room for vector types

    * powerpc64 ELFv2 IEEE128 long double support

commit b58bd77236e7d41fc04b4be7edd1c6728626c99b
Author: Anthony Green <[email protected]>
Date:   Fri Nov 15 11:18:59 2019 -0500

    Re-enable mingw32 tests.

commit 6f221e8269aa16f6b5eec41cfd1d7d90a9fbea0c
Author: Anthony Green <[email protected]>
Date:   Fri Nov 15 11:06:17 2019 -0500

    Disable wine builds.

commit 09dc0a71a44c95ee0d2f47de94b6b59534c2ce24
Author: Anthony Green <[email protected]>
Date:   Fri Nov 15 10:19:00 2019 -0500

    Stretch out timeout for test

commit 28a7cc464c21b4955fba28cc55a6f095ddf5838b
Author: Anthony Green <[email protected]>
Date:   Fri Nov 15 06:07:51 2019 -0500

    Consolidate all of the old ChangeLog files into ChangeLog.old.

commit 86d3d3767a40fe1cae10c419a913dd97e7e6cd23
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 10:07:00 2019 -0500

    Don't build aarch64-linux-gnu

commit db198a19375858879dbcc51a443c193efa0b6c0a
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 10:05:36 2019 -0500

    Extend timeout for builds.

commit 54af0256a00a40b2218950f93e5415c60f675714
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 09:15:05 2019 -0500

    Platform test tweaks

commit 3a7580da73b7f16f275277316d00e3497cbb5a8c
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 07:59:18 2019 -0500

    Mark java raw APIs as deprecated.

commit cda60c1a8aec070a7a822c047d89d0f18cf7c5fc
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 06:51:44 2019 -0500

    Disable mips64 tests.  Fix log grabbing.

commit a34254bdc1dee2857b759a22e657f92aadfa85dc
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 06:37:26 2019 -0500

    Re-add wine based testing

commit 9bd3a9742c04d2fac489f236163d7e7fbb1b7568
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 06:35:40 2019 -0500

    Add wine-sim.exp for wine-based testing

commit de6df6dce6420d4643598c228b72da4e455a0da7
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 06:32:46 2019 -0500

    Fix log file URL extraction.  Grab rlgl cli for OSX

commit c8986e871f82b497493d28c36be1a755c2ea6b8d
Author: Anthony Green <[email protected]>
Date:   Wed Nov 13 06:01:43 2019 -0500

    Fix log name extraction

commit 6630764d244aeb3bc0797d0c3c7ccc79084061a8
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 22:56:37 2019 -0500

    Account for shorter ==LOGFILE== string

commit aa975ec3e4ac07bd7dacec18f1c8282baeb7c398
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 22:35:47 2019 -0500

    Fix grep matcher

commit 6dd88bc5b3f3d3d975409b7336f4127ae18da4b3
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 18:44:27 2019 -0500

    Debug

commit 7e318cf50d8c481957b3be76e508054c70cbdf9b
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 17:55:35 2019 -0500

    Pull test logs from cfarm

commit 5123e9cf0193031bdc580cb221427cbd29ba3677
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 09:21:57 2019 -0500

    Use rlgl for cfarm test results

commit 486f88f985affa215a9daaadcdc703c8baea9020
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 09:20:21 2019 -0500

    Use rlgl for cross builds.

commit 042c6671b0456d17af24d61b79cbd3f9261c3f2b
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 09:14:20 2019 -0500

    Always exit build container successfully. Don't test mingw.

commit 82f7f80aa9ac3cd753bcb6d2b88cc930aee72bcc
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 08:58:52 2019 -0500

    Run rlgl outside of the build container.

commit 5b297e036e61ad1ecac9c8a3e57895737c55feb7
Author: Anthony Green <[email protected]>
Date:   Tue Nov 12 05:51:09 2019 -0500

    Don't bother dumping logs.  Use rlgl instead.

commit 2a8d88d92d56747101078c5592ab2473e6c5cb29
Author: Anthony Green <[email protected]>
Date:   Mon Nov 11 21:24:58 2019 -0500

    Fix rlgl usage

commit 3c2b810e99a10f97d1eb6ba485eb09bfdb158084
Author: Anthony Green <[email protected]>
Date:   Mon Nov 11 21:11:59 2019 -0500

    Test rlgl

commit 2cc11720be0c4d3bbe906be5a4aad3b2dc167072
Author: Anthony Green <[email protected]>
Date:   Mon Nov 11 16:19:45 2019 -0500

    Debug in-container builds

commit 0de0c6a28006902c203e8dc6629cd9ef35d61e09
Author: Anthony Green <[email protected]>
Date:   Sun Nov 10 08:20:46 2019 -0500

    Build both iOS and Macosx

commit 4e3e0586efbbc7828c15fb48e49401840beefcdd
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 12:35:27 2019 -0500

    Fix tpyo

commit f764f278160831f7e4d8ee8a48d18f5a7937f742
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 12:17:29 2019 -0500

    Change s390x options

commit 188de63c597f23b0ccdb953b076c8cb0711fbcf0
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 12:03:19 2019 -0500

    Mark xfail for m68k and alpha.

commit 0da221f8094ec504d91b5f88c74e98b8b9aa9eda
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 12:03:01 2019 -0500

    Clean up.  Debug s390x cpu support.

commit 7e0fbf41934020c9ff76816fde5000482c7e6a6c
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 11:50:08 2019 -0500

    Try coldfire for m68k builds

commit 6a9fa770a436bbb71dbe8311e75123353e6836cc
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 11:37:25 2019 -0500

    Add GCC_OPTIONS flag

commit eebcbb1113742df7d41fc3d39eca970a026ad1d1
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 11:26:53 2019 -0500

    Compile m68k target for m5208

commit 08cb33ff5824b2ea24b2b62841cca1934a27f36f
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 11:15:13 2019 -0500

    Dump supported CPUs

commit 16c935000d459b1aba9e1f7b48e2c1d7dadc8cf1
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 11:00:09 2019 -0500

    Fix shell script

commit 588e87461fe48441806be4bb5654f058e1c37649
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 10:56:40 2019 -0500

    Print debug output. Use podman when available.

commit 04d14a66ff807a0ac2578ce886ef338aa2066b4d
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 09:23:10 2019 -0500

    Set QEMU_CPU within the build containers

commit 28d9c019dbbf6dea1ed127e1a7de829cece86639
Author: Anthony Green <[email protected]>
Date:   Thu Nov 7 07:36:11 2019 -0500

    Set QEMU_CPU for m68k

commit 75464caf658f176848db6f48325c5067cdf94a9b
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 22:02:11 2019 -0500

    Add alpha and m68k testing

commit 259c497a2f326cc89344766e106cf73e62485a2a
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 11:31:17 2019 -0500

    Sett CC and CXX for cross builds

commit d23d3959fdb764984cfb888c5d6aed910926dd5f
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 11:21:46 2019 -0500

    autogen before cross building

commit a6dc8ef270c1f022720aedadb6b0d2678d1bc39e
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 11:10:59 2019 -0500

    Fix typo. Don't double test.

commit 136a235d3f36408628c0459d8740546acad0ca5a
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 10:51:33 2019 -0500

    Use the right cross build container image

commit 92f5309def05c66e6c5034c10d620d6fbc7a1018
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 10:49:04 2019 -0500

    Try s390x and sh4 cross builds/tests

commit d4a28fee720c8f389b138b3f7726157fbcb7eaaf
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 06:47:05 2019 -0500

    Revert to older test cross compilers

commit 0fb9ee21e68ca3e70cf236a63ba00b5ca32031ff
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 06:44:19 2019 -0500

    Use older test compiler.  Enable s390x testing.

commit 36d281ab70daf7dcf890df9c3f5bdd76f665bb68
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 06:30:52 2019 -0500

    Test cross-builds for hppa-linux-gnu

commit c95cc4b354f24dbbf5776eb297fa036bcbfed252
Author: Anthony Green <[email protected]>
Date:   Wed Nov 6 06:30:20 2019 -0500

    Reference FFI_BUILDING_DLL

commit 88a76477debe83ed6a75f96394853c891fb1dac4
Author: Anthony Green <[email protected]>
Date:   Sun Nov 3 06:28:51 2019 -0500

    rc2. hack as per: https://github.com/travis-ci/travis-ci/issues/6934

commit 45ba4aefed15be24fdbaaffec805fb02b1343e0f
Author: Anthony Green <[email protected]>
Date:   Thu Oct 31 19:07:04 2019 -0400

    Add sparc64-linux-gnu testing back

commit a26323b7e0824f0becaeaffc8d3b700dc09f741c
Author: Anthony Green <[email protected]>
Date:   Thu Oct 31 15:32:48 2019 -0400

    Don't build sparc.  Build mips.

commit f325324818a6aaa9e8a75782d75c412872e6b21c
Author: Anthony Green <[email protected]>
Date:   Thu Oct 31 14:35:43 2019 -0400

    Test mips64el-linux-gnu

commit 39bad2f396de7885c9569144b5bb6e8a639ac011
Author: Anthony Green <[email protected]>
Date:   Thu Oct 31 12:33:22 2019 -0400

    Don't run autogen.sh all the time.

commit 82719cbba06c2fc527df156d728341867d86f82c
Author: Anthony Green <[email protected]>
Date:   Thu Oct 31 12:23:11 2019 -0400

    Test sparc64-linux-gnu on travis

commit 0348d0e4fa585d9a3d9762132a3eee94f918fe3b
Author: Anthony Green <[email protected]>
Date:   Thu Oct 31 10:53:37 2019 -0400

    Try new cfarm build for power

commit 290bc3164bb0e0b3fb912c457b49e61f9a728eef
Author: Anthony Green <[email protected]>
Date:   Sat Oct 26 10:13:20 2019 -0400

    Add make_sunver.pl to distribution.

commit a8efc2f7897b439fdf2144329d35fea820498dc7
Author: Andreas Schwab <[email protected]>
Date:   Sat Oct 26 14:57:05 2019 +0200

    Fix FFI_STDCALL ABI (#514)

    Even for a stdcall function, the stack alignment is still the
    responsibility of the caller.  Remember the original, not stack-aligned
    argument size, but align when setting up a stack frame.  In
    ffi_closure_inner, return the true argument size, so that
    ffi_[go_]closure_STDCALL doesn't adjust too much.

commit ca112537df7b9cdbccad7541aa3cb43b2a2dac9a
Author: Anthony Green <[email protected]>
Date:   Sat Oct 26 07:26:30 2019 -0400

    Add missing build script, make_sunver.pl.

commit 52b066f04fdd81c1037e1cb714a07a2a352bcf9b
Author: Anthony Green <[email protected]>
Date:   Thu Oct 24 07:03:43 2019 -0400

    Update versions to 3.3-rc1

commit 9b10df3be2d8f81876b7cc90ee5d8833ccdf6b34
Author: Anthony Green <[email protected]>
Date:   Thu Oct 24 06:41:11 2019 -0400

    Remove some debugging output

commit ec042885cfa5a9450bfcc87152a41529d26545de
Author: Anthony Green <[email protected]>
Date:   Thu Oct 24 06:39:00 2019 -0400

    Don't test ppc64le with buggy qemu.

commit 90fb897839bb7006a2f751d283e3d23b3bfec1ea
Author: Anthony Green <[email protected]>
Date:   Thu Oct 24 06:24:14 2019 -0400

    Strip build status from README.md at 'make dist' time.

commit 1d6059446fb986d2de933f7ccf6fe38bcdf0c76c
Author: Anthony Green <[email protected]>
Date:   Thu Oct 24 05:25:11 2019 -0400

    Add missing dist files.

commit 825b2a359468af8bf3570a5a0695e8b805c5446f
Author: Anthony Green <[email protected]>
Date:   Wed Oct 16 16:05:46 2019 -0400

    Test on arm32v7-linux-gnu, ppc64le-linux-gnu and aarch64-linux-gnu.

    Use docker images and qemu to test libffi for non-x86 architectures on
    travis-ci.
    Use the LIBFFI_TEST_OPTIMIZATION environment variable to
    force specific optimization levels at test time.

commit d2a4095af68f4530571bc3fa613dd7f5e5b815a3
Author: Anthony Green <[email protected]>
Date:   Mon Oct 14 06:46:52 2019 -0400

    Fix comments.

commit 058aa4130445b4ef3c2f77f796c33506873031ca
Author: Anthony Green <[email protected]>
Date:   Mon Oct 14 05:47:07 2019 -0400

    Update copyright year

commit c4f61240ab19401bd86c0dfb271e243e8159abb4
Author: zhanhb <[email protected]>
Date:   Wed Oct 9 18:59:32 2019 +0800

    Add long double test (#492)

    Required to fix build error on macos with gcc-9

commit 09f9d856112f2f105337e95e32ba9e2da63f65ae
Author: pichikaudaykiran <[email protected]>
Date:   Wed Oct 9 16:26:06 2019 +0530

    Making the change to correct the comment when SUN (#521)

    and GCC are used together

commit 55c22092dc54e706a64af3a49ae9d5471a9e8317
Author: pnallan <[email protected]>
Date:   Tue Oct 8 18:46:47 2019 +0530

    handle compilation warnings with ftruncate API (#508)

    * fix me: avoid warning while handle ftruncate API

    Signed-off-by: Prasad Nallani <[email protected]>

    * Update closures.c

commit e5f0eb1552f222eb2630e40ee348b090d56412a3
Author: John Ericson <[email protected]>
Date:   Tue Oct 8 06:58:52 2019 -0400

    Clean up line endings (#509)

    The CLRF visual studio files can be kept that way, but recognized as
    text. The assembly file can be converted to LF.

commit ea9b6639c69cbffeacd1ce0c1953c1997cf29d2e
Author: Samuel Holland <[email protected]>
Date:   Tue Oct 8 05:57:28 2019 -0500

    PowerPC bugfixes (#520)

    * powerpc: Silence warnings about unused labels

    * powerpc: Fix a couple of comments

    * powerpc: Fix alignment after float structs

    * powerpc: Don't pad rvalues copied from FP regs

    * powerpc: Add missing check in struct alignment

    * powerpc: Support homogeneous long double structs

commit 25cf9cc4a5ce4a272252de3f681d60dafd838ceb
Author: Anthony Green <[email protected]>
Date:   Tue Oct 8 06:24:55 2019 -0400

    Use https for moxie toolchain repo

commit c2a6859012d928b67a83619bd5087674a96b9254
Author: Paul Monson <[email protected]>
Date:   Wed Aug 7 11:57:45 2019 -0700

    fix mingw build and crashing bugs for Python Windows ARM64 (#496)

    * fix mingw build and crashing bugs for Python Windows ARM64

    * Fix issues found in PR review

commit e0b4f84fb71c6760068c9d1306e77c9382e76d8d
Author: Anthony Green <[email protected]>
Date:   Wed Jun 26 06:18:48 2019 -0400

    Clear the apt cache

commit 68668fe4f22dea7b829fb84b724f5a74091f22f2
Author: Anthony Green <[email protected]>
Date:   Wed Jun 26 06:01:15 2019 -0400

    More debugging output

commit 1d7635d18ae4aebe4ec1cd129b0b4f71b685131e
Author: Anthony Green <[email protected]>
Date:   Tue Jun 25 23:39:52 2019 -0400

    Debug moxie builds in travis

commit d856743e6b02fcb5911491204131e277a7a4e10b
Author: ossdev07 <[email protected]>
Date:   Wed Jun 26 07:31:22 2019 +0530

     libffi: added ARM64 support for Windows (#486)

    *  libffi: added ARM64 support for Windows

        1. ported sysv.S to win64_armasm.S for armasm64 assembler
        2. added msvc_build folder for visual studio solution
        3. updated README.md for the same
        4. MSVC solution created with the changes, and below test suites are tested
           with test script written in python.

           libffi.bhaible
           libffi.call
        5. Basic functionality of above test suites are getting passed

    Signed-off-by: ossdev07 <[email protected]>

    * Update README.md

commit 80d07104c33045ea34a4d5185600495dc7461a12
Author: Anthony Green <[email protected]>
Date:   Sun Apr 28 07:36:24 2019 -0400

    uuencode compressed log files for travis

commit fadf1eb530713fde0be9774d926bc8202c97e379
Author: Sergei Trofimovich <[email protected]>
Date:   Sat Apr 27 20:53:29 2019 +0100

    hppa: avoid TEXTREL in .eh_frame section (#447)

    Before the change hand-crafted .eh_frame section contained
    ABS relocation and caused TEXTREL tag to be emitted:

    ```
    $ ./configure --host=hppa2.0-unknown-linux-gnu LDFLAGS=-Wl,-z,text
    $ make
    ...
    /usr/libexec/gcc/hppa2.0-unknown-linux-gnu/ld:
        read-only segment has dynamic relocations.
    ```

    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 <[email protected]>

commit 06bf1a9deaa781b711c4d3718561e7faf303a842
Author: driver1998 <[email protected]>
Date:   Sun Apr 28 03:21:44 2019 +0800

    fix x86/x64 MSVC build (#487)

commit db5706ff285c476aa3c0f811ff2b188319ac3ebe
Author: Paul Monson <[email protected]>
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: 05a179641 a7d6396f0
Author: Tom Tromey <[email protected]>
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 <[email protected]>
Date:   Fri Mar 29 14:19:20 2019 +0100

    fix check for Linux/aarch64

    fixes #473

commit 05a1796419f68267250c0b8ae7138da36ab60b01
Author: Jeremy Huddleston Sequoia <[email protected]>
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 <[email protected]>

    * x86: Ensure we don't export ffi_call_win64, ffi_closure_win64, or ffi_go_closure_win64

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * closures: Silence a semantic warning

    libffi/src/closures.c:175:23: This function declaration is not a prototype

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * aarch64: Ensure we don't export ffi_prep_cif_machdep

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * arm: Ensure we don't export ffi_prep_cif_machdep

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * aarch64, arm, x86: Add architecture preprocessor checks to support easier fat builds (eg: iOS)

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * 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 <[email protected]>

    * aarch: Use FFI_HIDDEN rather than .hidden

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * 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 <[email protected]>

commit 3ec522bc1c1c5a7fb66b85d4fb6a0fe80581d597
Author: dabrain34 <[email protected]>
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 <[email protected]>
Date:   Tue Feb 19 03:58:25 2019 -0800

    changes for win32 on windows (#468)

commit 44a6c28545186d78642487927952844156fc7ab5
Author: Florian Weimer <[email protected]>
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 <[email protected]>
Date:   Tue Feb 12 08:50:30 2019 -0500

    Remove -Os testing. No ABI impact, and helps trim log lengths.

commit 8fa88373a1d433c675b11200ccd58418e91f81e4
Merge: 737d4faa0 2c5b16428
Author: Tom Tromey <[email protected]>
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 <[email protected]>
Date:   Wed Dec 19 18:33:08 2018 +0200

    fix(configure): Correctly detect visibility("hidden") support on Darwin

commit 737d4faa00d681b4c758057f67e1a02d813d01c2
Merge: a5ea7527c 4a84df4ae
Author: Tom Tromey <[email protected]>
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 <[email protected]>
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: b11b08ca8 ba73a671c
Author: Tom Tromey <[email protected]>
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: 980908b47 e6eac7863
Author: Tom Tromey <[email protected]>
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 <[email protected]>
Date:   Tue Sep 18 15:19:53 2018 +0200

    Prefix ALIGN_DOWN macro with FFI_

commit 980908b47bbde09fab88ee4b2b61d8bc5d4378a7
Merge: 65da63abc 4cb776bc8
Author: Tom Tromey <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>

commit 65da63abc843fe448aaa86015d094cf016f325ba
Author: Jeremy Huddleston Sequoia <[email protected]>
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 <[email protected]>

    * x86: Use __text as the section name to avoid deprecated section name warnings.

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * darwin: Add missing regular,debug attributes for compact unwind sections

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

commit 2309b58448b0c8349156d687d7fa8709dfb68992
Author: Shoaib Meenai <[email protected]>
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
    x86-specific block. See [1] for details.

    [1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx#the_.sxdata_section_

commit 1d704051b2da207d715351b8613e74437d8e2eb7
Author: Jeremy Huddleston Sequoia <[email protected]>
Date:   Sun Jun 17 17:01:50 2018 -0700

    i386: Fix missing break; in case statement leading to incorrectly returned FFI_BAD_ABI (#437)

    * i386: Add missing break triggering dead store static analyzer checks.

    Register calling sequence is being reported as bad ABI instead of working as intended.

    Found-by: Clang Static Analysis
    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * Mark ffi arm sysv entry points as private_extern.

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * x86_64: Add implementation of compact unwind for ffi_call_unix64.

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

commit b55baf0b500ccc7636a8a55e0506d9da787ad2dd
Author: Anthony Green <[email protected]>
Date:   Wed May 9 13:21:02 2018 -0400

    Handle FFI_GNUW64 on non-Windows systems (EFI)

commit 8206253fdf01226173c36f087226d8ea53584566
Author: Anthony Green <[email protected]>
Date:   Wed May 9 10:50:46 2018 -0400

    Mark some cases as xfail due to GCC bug

commit b5ee395710e2db830749c3c95558c91b66ac111f
Author: Anthony Green <[email protected]>
Date:   Sat May 5 07:41:53 2018 -0400

    Revert "Remove some symbol exports and cleanup newline warnings (#433)"

    This reverts commit a5a0f3cf36dfb4d64316414a872288c3170e6c1d.

commit a5a0f3cf36dfb4d64316414a872288c3170e6c1d
Author: Jeremy Huddleston Sequoia <[email protected]>
Date:   Sat May 5 03:44:33 2018 -0700

    Remove some symbol exports and cleanup newline warnings (#433)

    * build: Ensure darwin generated sources end with a new line

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

    * build: Use .private_extern where missing to prevent exporting symbols that are not API

    Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>

commit d3c54cf3a2b2bb2e889173b6a0a959517b42c47f
Author: hjl-tools <[email protected]>
Date:   Wed May 2 06:19:58 2018 -0700

    Re-enable msabi testing (#436)

    * Revert "disable msabi testing for now"

    This reverts commit 7b7638eb0eac2adfa72f7ec9f254ba287c9947e2.

    * x86: Correct testing for 64-bit x86-64

    Since passing -m32 to x86-64 compiler will generate i386 code, we
    need to check both __ILP32__ and __i386__ for 64-bit x86-64.

    * x86: Check __i386__ instead of i?86-*-* targets

    Since passing -m32 to x86-64 compiler will generate i386 code, we need
    to check __i386__ instead of i?86-*-* targets for i386 targets.

    * i386: Properly passing integer parameters in registers

    For thiscall and fastcall, if the paramter passed as 64-bit integer or
    struct, all following integer paramters will be passed on stack.

    * test: Add ABI_ATTR to callback_code

    Add ABI_ATTR to callback_code to properly test different ABIs.

commit ebf241663cc0fd0d76e4db8101e842e1630a2c78
Author: Alan Modra <[email protected]>
Date:   Wed May 2 13:55:29 2018 +0930

    PowerPC64 ELFv1 fp arg fixes

    The ELFv1 ABI says: "Single precision floating point values are mapped
    to the second word in a single doubleword" and also "Floating point
    registers f1 through f13 are used consecutively to pass up to 13
    floating point values, one member aggregates passed by value
    containing a floating point value, and to pass complex floating point
    values".

    libffi wasn't expecting float args in the second word, and wasn't
    passing one member aggregates in fp registers.  This patch fixes those
    problems, making use of the existing ELFv2 homogeneous aggregate
    support since a one element fp struct is a special case of an
    homogeneous aggregate.

    I've also set a flag when returning pointers that might be used one
    day.  This is just a tidy since the ppc64 assembly support code
    currently doesn't test FLAG_RETURNS_64BITS for integer types..

    	* src/powerpc/ffi_linux64.c (discover_homogeneous_aggregate):
    	Compile for ELFv1 too, handling single element aggregates.
    	(ffi_prep_cif_linux64_core): Call discover_homogeneous_aggregate
    	for ELFv1.  Set FLAG_RETURNS_64BITS for FFI_TYPE_POINTER return.
    	(ffi_prep_args64): Call discover_homogeneous_aggregate for ELFv1,
    	and handle single element structs containing float or double
    	as if the element wasn't wrapped in a struct.  Store floats in
    	second word of doubleword slot when big-endian.
    	(ffi_closure_helper_LINUX64): Similarly.

commit a2c6c7af9ffb9500a944abc666ced0922d0de762
Author: Anthony Green <[email protected]>
Date:   Tue May 1 06:46:30 2018 -0400

    Add license for build-time tools

commit 4c2206ace07f2fb4bef43cd4bfe952ccb584dcec
Author: Tom Tromey <[email protected]>
Date:   Sat Apr 28 04:46:10 2018 -0600

    Fix two "return" issues in x86/ffi64.c (#431)

    Issue #70 pointed out that at least one compiler didn't like:

        return ffi_call_efi64(cif, fn, rvalue, avalue);

    ... where the return type is "void".  This patch splits the statement
    into two.

    I also noticed that ffi_call_go here seems to do a double call.  I
    suspect a "return" is missing here, so this patch adds it as well.

commit ed3ed4d801a4d417ea304715d4d8ae581a6c6903
Merge: 8e250c390 b69f95d65
Author: Tom Tromey <[email protected]>
Date:   Fri Apr 27 10:48:51 2018 -0600

    Merge pull request #429 from yousong/m4subst

    build: fix subst toolexecdir, toolexeclibdir

commit b69f95d6562b6a57c9be36da0cdf2a500adb94e9
Author: Yousong Zhou <[email protected]>
Date:   Thu Apr 26 19:27:54 2018 +0800

    build: fix subst toolexecdir, toolexeclibdir

    On CentOS 7.4, configure script generated by autogen.sh will output the
    following values when compiling GCC source code

        toolexecdir='NONE/$(target_alias)'
        toolexeclibdir='NONE/$(target_alias)/lib'

    and cause build error

        ... -o libffi.la -rpath NONE/riscv64-bs-linux-gnu/lib ...
        checking for shl_load in -ldld... libtool: link: only absolute run-paths are allowed

commit 8e250c390a45f722387c1881ae5f99849a2d1e22
Author: Stephen <[email protected]>
Date:   Wed Apr 25 13:17:32 2018 -0700

    update to https for cygwin download (#428)

commit 7d3cab7926d08aad9a8e54420d6878cb17efd185
Author: Lucas Pluvinage <[email protected]>
Date:   Sat Apr 21 00:24:50 2018 +0200

    xtensa-linux: use cache flush instruction only if it is available (#426)

commit 159b94e5fd4aa2d88e1b5b389092cefd9472a741
Author: James Cowgill <[email protected]>
Date:   Thu Apr 19 01:28:23 2018 +0100

    Various MIPS Fixes (#425)

    * mips: simplify closure #defines

    This commit should have no visible effect.

    * mips: add special handling of variadic functions

    MIPS requires special handling of variadic functions which pass floating
    point arguments:
    * In the o32 ABI, all float arguments are passed in integer registers.
    * In the n32/n64 ABIs, float arguments after the ellipsis are passed in
      integer registers.

    Implement this in libffi. To support this in n32/n64 closures, we need to add
    a new mips_nfixedargs field to ffi_cif which will break the libffi ABI.

    This fixes the libffi.call/cls_longdouble_va.c test which was failing on
    64-bit MIPS.

    * mips: align argn for all 64-bit types in o32 closure handler

    Ensure that argn is pre-aligned for all 64-bit argument types (including
    doubles) and not just integer types.

    This fixes closures of the form "f(float, double, <some integer args>)".
    Previously the first integer argument would be read from a2 which is garbage
    at this point (the float arguments have already "consumed" a0-a3). After
    this commit, argn is correctly padded between the "float" and "double"
    arguments so that the first integer argument is read from the stack.

    Fixes "double f(float,double,int)" test in #371

    * mips: do not read from floating point register if returning a struct

    In the o32 ABI, the pointer passed in a0 used to return structures
    indirectly is treated as the first argument for argument allocation purposes.
    This means that it should inhibit floating point registers the same way that
    other integer arguments do.

    Fixes "Double f(float,Double,double)" test in #371

    * mips: fix pointer cast warnings

    Fix two pointer cast warnings when compiled on 64-bit mips by casting
    through uintptr_t.

    Fixes mips64el part of #404

commit f2afda08e85b02888350449dcf39a6c37cfb7bc4
Merge: e27f70b8c 801c1bd71
Author: Anthony Green <[email protected]>
Date:   Sun Apr 8 18:25:43 2018 -0400

    Merge branch 'master' of github.com:/libffi/libffi

commit e27f70b8cf2a537bef84b2cb29ad8ea6209a11b8
Author: Anthony Green <[email protected]>
Date:   Sun Apr 8 18:25:34 2018 -0400

    Fix case where callback arg value is split across regs and stack

commit 801c1bd712ff8c76675b7aa69c29948907f1eeff
Author: Andreas Krebbel <[email protected]>
Date:   Thu Apr 5 14:27:32 2018 +0200

    Fix issue #421 (#422)

    Fantastic - thanks for digging into this.

commit 8660e6935971c5abd7b528eaf54deeccd4bbaccd
Author: Anthony Green <[email protected]>
Date:   Mon Apr 2 08:30:17 2018 -0400

    3.3 release candidate 0

commit 7b7638eb0eac2adfa72f7ec9f254ba287c9947e2
Author: Anthony Green <[email protected]>
Date:   Mon Apr 2 08:24:44 2018 -0400

    disable msabi testing for now

commit af6773d6ab4db0577bc6b932ab5a2f98a0a8dca2
Author: fwg <[email protected]>
Date:   Mon Apr 2 13:55:31 2018 +0200

    Fix appveyor windows build (#420)

    * Fix msvcc dll build by adding dllexport decorations to all API declarations

    * Fix appveyor build for VS 2013

    Use the new -DFFI_BUILDING_DLL for producing a working DLL. Update the
    msvcc.sh wrapper script to successfully compile the testsuite files.

    * MSVC build: suppress warnings in testsuite

    * fix testsuite on appveyor

commit 48bdb02867edb7e9f3785ccb4bdff1087fb44246
Author: Anthony Green <[email protected]>
Date:   Thu Mar 29 07:22:57 2018 -0400

    Trim some optimization tests

commit f98e0f0d777bf962057e18d036989b2b89fdf416
Author: Anthony Green <[email protected]>
Date:   Thu Mar 29 07:22:38 2018 -0400

    Simplify matrix

commit fa72b054e10acaea33ec8cc395e0ea5b31c9ac9e
Author: Anthony Green <[email protected]>
Date:   Thu Mar 29 07:10:23 2018 -0400

    Remove warning message from clang

commit 746c3ce220cb155a8f3b613550a7ecad76f9fedc
Author: Anthony Green <[email protected]>
Date:   Thu Mar 29 07:01:14 2018 -0400

    Expand ABI tests on x86.  Testsuite bug fixes.

commit 2eee934d0cb2beef7c0aa29767eca1ce03452ae9
Author: Anthony Green <[email protected]>
Date:   Tue Mar 27 14:45:40 2018 -0400

    deal with msvc warnings

commit 206b2974f70f65b4c4c4d9e62b03ee7e0753ee2d
Author: Anthony Green <[email protected]>
Date:   Tue Mar 27 14:37:50 2018 -0400

    fix quoting issue

commit 499e41c1ec6b760eff2b320ffc87e22de82a9e1d
Author: Anthony Green <[email protected]>
Date:   Tue Mar 27 14:35:10 2018 -0400

    Don't ignore a file

commit 5b41e9f6d2c099add0e02db8c8054281f96b6d0e
Author: Anthony Green <[email protected]>
Date:   Tue Mar 27 14:34:31 2018 -04…
  • Loading branch information
tresf committed Nov 12, 2020
1 parent 8aed14b commit d5c30d1
Show file tree
Hide file tree
Showing 326 changed files with 42,692 additions and 10,489 deletions.
66 changes: 66 additions & 0 deletions native/libffi/.appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
shallow_clone: true

# We're currently only testing libffi built with Microsoft's
# tools.
# This matrix should be expanded to include at least:
# 32- and 64-bit gcc/cygwin
# 32- and 64-bit gcc/mingw
# 32- and 64-bit clang/mingw
# and perhaps more.

image: Visual Studio 2017
platform:
- x64
- x86
- arm
- arm64

environment:
global:
CYG_ROOT: C:/cygwin
CYG_CACHE: C:/cygwin/var/cache/setup
CYG_MIRROR: http://mirrors.kernel.org/sourceware/cygwin/
matrix:
- VSVER: 15

install:
- ps: >-
If ($env:Platform -Match "x86") {
$env:VCVARS_PLATFORM="x86"
$env:BUILD="i686-pc-cygwin"
$env:HOST="i686-pc-cygwin"
$env:MSVCC="/cygdrive/c/projects/libffi/msvcc.sh"
$env:SRC_ARCHITECTURE="x86"
} ElseIf ($env:Platform -Match "arm64") {
$env:VCVARS_PLATFORM="x86_arm64"
$env:BUILD="i686-pc-cygwin"
$env:HOST="aarch64-w64-cygwin"
$env:MSVCC="/cygdrive/c/projects/libffi/msvcc.sh -marm64"
$env:SRC_ARCHITECTURE="aarch64"
} ElseIf ($env:Platform -Match "arm") {
$env:VCVARS_PLATFORM="x86_arm"
$env:BUILD="i686-pc-cygwin"
$env:HOST="arm-w32-cygwin"
$env:MSVCC="/cygdrive/c/projects/libffi/msvcc.sh -marm"
$env:SRC_ARCHITECTURE="arm"
} Else {
$env:VCVARS_PLATFORM="amd64"
$env:BUILD="x86_64-w64-cygwin"
$env:HOST="x86_64-w64-cygwin"
$env:MSVCC="/cygdrive/c/projects/libffi/msvcc.sh -m64"
$env:SRC_ARCHITECTURE="x86"
}
- 'appveyor DownloadFile https://cygwin.com/setup-x86.exe -FileName setup.exe'
- 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P dejagnu >NUL'
- '%CYG_ROOT%/bin/bash -lc "cygcheck -dc cygwin"'
- echo call VsDevCmd to set VS150COMNTOOLS
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
- ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
- echo "Using Visual Studio %VSVER%.0 at %VSCOMNTOOLS%"
- call "%VSCOMNTOOLS%..\..\vc\Auxiliary\Build\vcvarsall.bat" %VCVARS_PLATFORM%

build_script:
- c:\cygwin\bin\sh -lc "(cd $OLDPWD; ./autogen.sh;)"
- c:\cygwin\bin\sh -lc "(cd $OLDPWD; ./configure CC='%MSVCC%' CXX='%MSVCC%' LD='link' CPP='cl -nologo -EP' CXXCPP='cl -nologo -EP' CPPFLAGS='-DFFI_BUILDING_DLL' AR='/cygdrive/c/projects/libffi/.travis/ar-lib lib' NM='dumpbin -symbols' STRIP=':' --build=$BUILD --host=$HOST;)"
- c:\cygwin\bin\sh -lc "(cd $OLDPWD; cp src/%SRC_ARCHITECTURE%/ffitarget.h include; make; find .;)"
- c:\cygwin\bin\sh -lc "(cd $OLDPWD; cp `find . -name 'libffi-?.dll'` $HOST/testsuite/; make check; cat `find ./ -name libffi.log`)"
4 changes: 4 additions & 0 deletions native/libffi/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* text=auto

*.sln text eol=crlf
*.vcxproj* text eol=crlf
10 changes: 10 additions & 0 deletions native/libffi/.github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## System Details

<!--- What platform are you working with? eg. the output of config.guess -->
<!--- Provide any toolchain details here. eg. compiler version -->

## Problems Description

<!--- Provide a description of the problem here -->
<!--- If this is a configure-time problem, attach config.log -->
<!--- If this is a testsuite problem, attach the relevant log output -->
5 changes: 4 additions & 1 deletion native/libffi/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
.dirstamp
*.la
Makefile
!testsuite/libffi.bhaible/Makefile
Makefile.in
aclocal.m4
compile
config.*
!.travis/compile
configure
depcomp
doc/libffi.info
Expand All @@ -33,3 +34,5 @@ libffi.xcodeproj/xcuserdata
libffi.xcodeproj/project.xcworkspace
build_*/
darwin_*/
src/arm/trampoline.S
**/texinfo.tex
95 changes: 78 additions & 17 deletions native/libffi/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,83 @@
---
sudo: required

language: cpp
compiler:
- gcc
- clang
env:
-
- HOST=i386-pc-linux-gnu

# For qemu-powered targets, get the list of supported processors from
# travis by setting QEMU_CPU=help, then set -mcpu= for the compilers
# accordingly.

matrix:
exclude:
- compiler: clang
env: HOST=i386-pc-linux-gnu
include:
- os: linux
env: HOST=powerpc-eabisim RUNTESTFLAGS="--target_board powerpc-eabisim" DEJAGNU="/opt/.travis/site.exp"
- os: linux
env: HOST=or1k-elf RUNTESTFLAGS="--target_board or1k-sim" DEJAGNU="/opt/.travis/site.exp"
- os: linux
env: HOST=m32r-elf RUNTESTFLAGS="--target_board m32r-sim" DEJAGNU="/opt/.travis/site.exp"
- os: linux
env: HOST=bfin-elf RUNTESTFLAGS="--target_board bfin-sim" DEJAGNU="/opt/.travis/site.exp"
# This configuration is still using the native x86 toolchain?
# - os: osx
# env: HOST=aarch64-apple-darwin13
- os: osx
env: HOST=x86_64-apple-darwin10
- os: linux
env: HOST=x86_64-w64-mingw32 MEVAL='export CC="x86_64-w64-mingw32-gcc" && CXX="x86_64-w64-mingw32-g++" RUNTESTFLAGS="--target_board wine-sim" DEJAGNU="$TRAVIS_BUILD_DIR/.travis/site.exp" CONFIGURE_OPTIONS=--disable-shared LIBFFI_TEST_OPTIMIZATION="-O2"
- os: linux
env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu
- os: linux
env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
- os: linux
env: HOST=m68k-linux-gnu MEVAL='export CC="m68k-linux-gnu-gcc-8 -mcpu=547x" && CXX="m68k-linux-gnu-g++-8 -mcpu=547x"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/m68k-linux-gnu QEMU_CPU=cfv4e
- os: linux
arch: s390x
env: HOST=s390x-linux-gnu
- os: linux
arch: ppc64le
env: HOST=ppc64le-linux-gnu
- os: linux
arch: arm64
env: HOST=aarch64-linux-gnu
- os: linux
arch: arm64
env: HOST=aarch64-linux-gnu
compiler: clang
- os: linux
env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
- os: linux
env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2"
- os: linux
env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
# The sparc64 linux system in the GCC compile farm is non-responsive.
# - os: linux
# env: HOST=sparc64-linux-gnu
# The mips64 linux system in the GCC compile farm is not allowing logins
# - os: linux
# env: HOST=mips64el-linux-gnu
- os: linux
compiler: gcc
env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
- os: linux
compiler: gcc
- os: linux
compiler: gcc
env: CONFIGURE_OPTIONS=--disable-shared
- os: linux
compiler: clang
- os: linux
compiler: clang
env: CONFIGURE_OPTIONS=--disable-shared
- os: linux
env: HOST=moxie-elf MEVAL='export PATH=/opt/moxielogic/bin:$PATH && CC=moxie-elf-gcc && CXX=moxie-elf-g++' LDFLAGS=-Tsim.ld RUNTESTFLAGS="--target_board moxie-sim" DEJAGNU="$TRAVIS_BUILD_DIR/.travis/site.exp"

before_install:
- if test x"$MEVAL" != x; then eval ${MEVAL}; fi

before_script:
- sudo apt-get install dejagnu texinfo
- if [ "$HOST" = i386-pc-linux-gnu ] ; then sudo apt-get install gcc-multilib g++-multilib && CC="$CC -m32" && CXX="$CXX -m32" ; fi
install:
- travis_wait 30 ./.travis/install.sh

script:
- ./autogen.sh
- ./configure ${HOST+--host=$HOST}
- make
- make dist
- make check
- if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi
- travis_wait 115 sleep infinity &
- ./.travis/build.sh
Loading

0 comments on commit d5c30d1

Please sign in to comment.