platform/upstream/libffi.git
4 years agoFix or1k lack-of-g++ checking in testsuite
Anthony Green [Wed, 20 Nov 2019 12:16:41 +0000 (07:16 -0500)]
Fix or1k lack-of-g++ checking in testsuite

4 years agoAdd work-around for users who manage their own closure memory
Anthony Green [Wed, 20 Nov 2019 11:15:55 +0000 (06:15 -0500)]
Add work-around for users who manage their own closure memory

As suggested by DJ

4 years agoNo C++ for or1k-unknown-elf
Anthony Green [Tue, 19 Nov 2019 22:14:23 +0000 (17:14 -0500)]
No C++ for or1k-unknown-elf

4 years agoNo C++ for or1k
Anthony Green [Tue, 19 Nov 2019 18:36:49 +0000 (13:36 -0500)]
No C++ for or1k

4 years agoDisable type warnings for or1k.
Anthony Green [Tue, 19 Nov 2019 15:07:16 +0000 (10:07 -0500)]
Disable type warnings for or1k.

4 years agoNo c++ for or1k-elf
Anthony Green [Tue, 19 Nov 2019 15:06:57 +0000 (10:06 -0500)]
No c++ for or1k-elf

4 years agoFake TRAVIS_BUILD_DIR
Anthony Green [Mon, 18 Nov 2019 20:20:00 +0000 (15:20 -0500)]
Fake TRAVIS_BUILD_DIR

4 years agoAdapt for new old ChangeLog file
Anthony Green [Mon, 18 Nov 2019 20:13:16 +0000 (15:13 -0500)]
Adapt for new old ChangeLog file

4 years agoFix DEJAGNU variable
Anthony Green [Mon, 18 Nov 2019 20:06:51 +0000 (15:06 -0500)]
Fix DEJAGNU variable

4 years agoSet vars
Anthony Green [Mon, 18 Nov 2019 19:54:14 +0000 (14:54 -0500)]
Set vars

4 years agoRemove verbosity
Anthony Green [Mon, 18 Nov 2019 19:45:29 +0000 (14:45 -0500)]
Remove verbosity

4 years agoPull before running
Anthony Green [Mon, 18 Nov 2019 19:40:30 +0000 (14:40 -0500)]
Pull before running

4 years agoFix cross builds for or1k
Anthony Green [Mon, 18 Nov 2019 19:02:33 +0000 (14:02 -0500)]
Fix cross builds for or1k

4 years agoMore cross build debugging
Anthony Green [Mon, 18 Nov 2019 18:59:10 +0000 (13:59 -0500)]
More cross build debugging

4 years agoSet path to simulator. Add debugging output.
Anthony Green [Mon, 18 Nov 2019 18:47:42 +0000 (13:47 -0500)]
Set path to simulator. Add debugging output.

4 years agoBe specific when building CI container images
Anthony Green [Mon, 18 Nov 2019 18:17:27 +0000 (13:17 -0500)]
Be specific when building CI container images

4 years agoCapture more or1k hosts
Anthony Green [Mon, 18 Nov 2019 18:06:26 +0000 (13:06 -0500)]
Capture more or1k hosts

4 years agoAdd test support for or1k. Fix yaml typo.
Anthony Green [Mon, 18 Nov 2019 18:02:44 +0000 (13:02 -0500)]
Add test support for or1k. Fix yaml typo.

4 years agoFix typo for m32r and bfin builds
Anthony Green [Mon, 18 Nov 2019 17:25:51 +0000 (12:25 -0500)]
Fix typo for m32r and bfin builds

4 years agoMerge branch 'master' of github.com:libffi/libffi
Anthony Green [Mon, 18 Nov 2019 11:35:19 +0000 (06:35 -0500)]
Merge branch 'master' of github.com:libffi/libffi

4 years agoBuild/test for m32r-elf and bfin-elf
Anthony Green [Mon, 18 Nov 2019 11:34:42 +0000 (06:34 -0500)]
Build/test for m32r-elf and bfin-elf

4 years agoMention binary128 long double support for Power
Anthony Green [Sun, 17 Nov 2019 14:19:14 +0000 (09:19 -0500)]
Mention binary128 long double support for Power

4 years agoIEEE754 binary128 long double support for PowerPC64 (#526)
Samuel Holland [Sun, 17 Nov 2019 13:22:25 +0000 (07:22 -0600)]
IEEE754 binary128 long double support for PowerPC64 (#526)

* powerpc: Adjust flags to make room for vector types

* powerpc64 ELFv2 IEEE128 long double support

4 years agoRe-enable mingw32 tests.
Anthony Green [Fri, 15 Nov 2019 16:18:59 +0000 (11:18 -0500)]
Re-enable mingw32 tests.

4 years agoDisable wine builds.
Anthony Green [Fri, 15 Nov 2019 16:06:17 +0000 (11:06 -0500)]
Disable wine builds.

4 years agoStretch out timeout for test
Anthony Green [Fri, 15 Nov 2019 15:19:00 +0000 (10:19 -0500)]
Stretch out timeout for test

4 years agoConsolidate all of the old ChangeLog files into ChangeLog.old.
Anthony Green [Fri, 15 Nov 2019 11:07:51 +0000 (06:07 -0500)]
Consolidate all of the old ChangeLog files into ChangeLog.old.

5 years agoDon't build aarch64-linux-gnu
Anthony Green [Wed, 13 Nov 2019 15:07:00 +0000 (10:07 -0500)]
Don't build aarch64-linux-gnu

5 years agoExtend timeout for builds.
Anthony Green [Wed, 13 Nov 2019 15:05:36 +0000 (10:05 -0500)]
Extend timeout for builds.

5 years agoPlatform test tweaks
Anthony Green [Wed, 13 Nov 2019 14:15:05 +0000 (09:15 -0500)]
Platform test tweaks

5 years agoMark java raw APIs as deprecated.
Anthony Green [Wed, 13 Nov 2019 12:59:18 +0000 (07:59 -0500)]
Mark java raw APIs as deprecated.

5 years agoDisable mips64 tests. Fix log grabbing.
Anthony Green [Wed, 13 Nov 2019 11:51:44 +0000 (06:51 -0500)]
Disable mips64 tests.  Fix log grabbing.

5 years agoRe-add wine based testing
Anthony Green [Wed, 13 Nov 2019 11:37:26 +0000 (06:37 -0500)]
Re-add wine based testing

5 years agoAdd wine-sim.exp for wine-based testing
Anthony Green [Wed, 13 Nov 2019 11:35:40 +0000 (06:35 -0500)]
Add wine-sim.exp for wine-based testing

5 years agoFix log file URL extraction. Grab rlgl cli for OSX
Anthony Green [Wed, 13 Nov 2019 11:32:46 +0000 (06:32 -0500)]
Fix log file URL extraction.  Grab rlgl cli for OSX

5 years agoFix log name extraction
Anthony Green [Wed, 13 Nov 2019 11:01:43 +0000 (06:01 -0500)]
Fix log name extraction

5 years agoAccount for shorter ==LOGFILE== string
Anthony Green [Wed, 13 Nov 2019 03:56:37 +0000 (22:56 -0500)]
Account for shorter ==LOGFILE== string

5 years agoFix grep matcher
Anthony Green [Wed, 13 Nov 2019 03:35:47 +0000 (22:35 -0500)]
Fix grep matcher

5 years agoDebug
Anthony Green [Tue, 12 Nov 2019 23:44:27 +0000 (18:44 -0500)]
Debug

5 years agoPull test logs from cfarm
Anthony Green [Tue, 12 Nov 2019 22:55:35 +0000 (17:55 -0500)]
Pull test logs from cfarm

5 years agoUse rlgl for cfarm test results
Anthony Green [Tue, 12 Nov 2019 14:21:57 +0000 (09:21 -0500)]
Use rlgl for cfarm test results

5 years agoUse rlgl for cross builds.
Anthony Green [Tue, 12 Nov 2019 14:20:21 +0000 (09:20 -0500)]
Use rlgl for cross builds.

5 years agoAlways exit build container successfully. Don't test mingw.
Anthony Green [Tue, 12 Nov 2019 14:14:20 +0000 (09:14 -0500)]
Always exit build container successfully. Don't test mingw.

5 years agoRun rlgl outside of the build container.
Anthony Green [Tue, 12 Nov 2019 13:58:52 +0000 (08:58 -0500)]
Run rlgl outside of the build container.

5 years agoDon't bother dumping logs. Use rlgl instead.
Anthony Green [Tue, 12 Nov 2019 10:51:09 +0000 (05:51 -0500)]
Don't bother dumping logs.  Use rlgl instead.

5 years agoFix rlgl usage
Anthony Green [Tue, 12 Nov 2019 02:24:58 +0000 (21:24 -0500)]
Fix rlgl usage

5 years agoTest rlgl
Anthony Green [Tue, 12 Nov 2019 02:11:59 +0000 (21:11 -0500)]
Test rlgl

5 years agoDebug in-container builds
Anthony Green [Mon, 11 Nov 2019 21:19:45 +0000 (16:19 -0500)]
Debug in-container builds

5 years agoBuild both iOS and Macosx
Anthony Green [Sun, 10 Nov 2019 13:20:46 +0000 (08:20 -0500)]
Build both iOS and Macosx

5 years agoFix tpyo
Anthony Green [Thu, 7 Nov 2019 17:35:27 +0000 (12:35 -0500)]
Fix tpyo

5 years agoChange s390x options
Anthony Green [Thu, 7 Nov 2019 17:17:29 +0000 (12:17 -0500)]
Change s390x options

5 years agoMark xfail for m68k and alpha.
Anthony Green [Thu, 7 Nov 2019 17:03:19 +0000 (12:03 -0500)]
Mark xfail for m68k and alpha.

5 years agoClean up. Debug s390x cpu support.
Anthony Green [Thu, 7 Nov 2019 17:03:01 +0000 (12:03 -0500)]
Clean up.  Debug s390x cpu support.

5 years agoTry coldfire for m68k builds
Anthony Green [Thu, 7 Nov 2019 16:50:08 +0000 (11:50 -0500)]
Try coldfire for m68k builds

5 years agoAdd GCC_OPTIONS flag
Anthony Green [Thu, 7 Nov 2019 16:37:25 +0000 (11:37 -0500)]
Add GCC_OPTIONS flag

5 years agoCompile m68k target for m5208
Anthony Green [Thu, 7 Nov 2019 16:26:53 +0000 (11:26 -0500)]
Compile m68k target for m5208

5 years agoDump supported CPUs
Anthony Green [Thu, 7 Nov 2019 16:15:13 +0000 (11:15 -0500)]
Dump supported CPUs

5 years agoFix shell script
Anthony Green [Thu, 7 Nov 2019 16:00:09 +0000 (11:00 -0500)]
Fix shell script

5 years agoPrint debug output. Use podman when available.
Anthony Green [Thu, 7 Nov 2019 15:56:40 +0000 (10:56 -0500)]
Print debug output. Use podman when available.

5 years agoSet QEMU_CPU within the build containers
Anthony Green [Thu, 7 Nov 2019 14:23:10 +0000 (09:23 -0500)]
Set QEMU_CPU within the build containers

5 years agoSet QEMU_CPU for m68k
Anthony Green [Thu, 7 Nov 2019 12:36:11 +0000 (07:36 -0500)]
Set QEMU_CPU for m68k

5 years agoAdd alpha and m68k testing
Anthony Green [Thu, 7 Nov 2019 03:02:11 +0000 (22:02 -0500)]
Add alpha and m68k testing

5 years agoSett CC and CXX for cross builds
Anthony Green [Wed, 6 Nov 2019 16:31:17 +0000 (11:31 -0500)]
Sett CC and CXX for cross builds

5 years agoautogen before cross building
Anthony Green [Wed, 6 Nov 2019 16:21:46 +0000 (11:21 -0500)]
autogen before cross building

5 years agoFix typo. Don't double test.
Anthony Green [Wed, 6 Nov 2019 16:10:59 +0000 (11:10 -0500)]
Fix typo. Don't double test.

5 years agoUse the right cross build container image
Anthony Green [Wed, 6 Nov 2019 15:51:33 +0000 (10:51 -0500)]
Use the right cross build container image

5 years agoTry s390x and sh4 cross builds/tests
Anthony Green [Wed, 6 Nov 2019 15:49:04 +0000 (10:49 -0500)]
Try s390x and sh4 cross builds/tests

5 years agoRevert to older test cross compilers
Anthony Green [Wed, 6 Nov 2019 11:47:05 +0000 (06:47 -0500)]
Revert to older test cross compilers

5 years agoUse older test compiler. Enable s390x testing.
Anthony Green [Wed, 6 Nov 2019 11:44:19 +0000 (06:44 -0500)]
Use older test compiler.  Enable s390x testing.

5 years agoTest cross-builds for hppa-linux-gnu
Anthony Green [Wed, 6 Nov 2019 11:30:52 +0000 (06:30 -0500)]
Test cross-builds for hppa-linux-gnu

5 years agoReference FFI_BUILDING_DLL
Anthony Green [Wed, 6 Nov 2019 11:30:20 +0000 (06:30 -0500)]
Reference FFI_BUILDING_DLL

5 years agorc2. hack as per: https://github.com/travis-ci/travis-ci/issues/6934
Anthony Green [Sun, 3 Nov 2019 11:28:51 +0000 (06:28 -0500)]
rc2. hack as per: https://github.com/travis-ci/travis-ci/issues/6934

5 years agoAdd sparc64-linux-gnu testing back
Anthony Green [Thu, 31 Oct 2019 23:07:04 +0000 (19:07 -0400)]
Add sparc64-linux-gnu testing back

5 years agoDon't build sparc. Build mips.
Anthony Green [Thu, 31 Oct 2019 19:32:48 +0000 (15:32 -0400)]
Don't build sparc.  Build mips.

5 years agoTest mips64el-linux-gnu
Anthony Green [Thu, 31 Oct 2019 18:35:43 +0000 (14:35 -0400)]
Test mips64el-linux-gnu

5 years agoDon't run autogen.sh all the time.
Anthony Green [Thu, 31 Oct 2019 16:33:22 +0000 (12:33 -0400)]
Don't run autogen.sh all the time.

5 years agoTest sparc64-linux-gnu on travis
Anthony Green [Thu, 31 Oct 2019 16:23:11 +0000 (12:23 -0400)]
Test sparc64-linux-gnu on travis

5 years agoTry new cfarm build for power
Anthony Green [Thu, 31 Oct 2019 14:53:37 +0000 (10:53 -0400)]
Try new cfarm build for power

5 years agoAdd make_sunver.pl to distribution.
Anthony Green [Sat, 26 Oct 2019 14:13:20 +0000 (10:13 -0400)]
Add make_sunver.pl to distribution.

5 years agoFix FFI_STDCALL ABI (#514)
Andreas Schwab [Sat, 26 Oct 2019 12:57:05 +0000 (14:57 +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.

5 years agoAdd missing build script, make_sunver.pl.
Anthony Green [Sat, 26 Oct 2019 11:26:30 +0000 (07:26 -0400)]
Add missing build script, make_sunver.pl.

5 years agoUpdate versions to 3.3-rc1
Anthony Green [Thu, 24 Oct 2019 11:03:43 +0000 (07:03 -0400)]
Update versions to 3.3-rc1

5 years agoRemove some debugging output
Anthony Green [Thu, 24 Oct 2019 10:41:11 +0000 (06:41 -0400)]
Remove some debugging output

5 years agoDon't test ppc64le with buggy qemu.
Anthony Green [Thu, 24 Oct 2019 10:39:00 +0000 (06:39 -0400)]
Don't test ppc64le with buggy qemu.

5 years agoStrip build status from README.md at 'make dist' time.
Anthony Green [Thu, 24 Oct 2019 10:24:14 +0000 (06:24 -0400)]
Strip build status from README.md at 'make dist' time.

5 years agoAdd missing dist files.
Anthony Green [Thu, 24 Oct 2019 09:25:11 +0000 (05:25 -0400)]
Add missing dist files.

5 years agoTest on arm32v7-linux-gnu, ppc64le-linux-gnu and aarch64-linux-gnu.
Anthony Green [Wed, 16 Oct 2019 20:05:46 +0000 (16:05 -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.

5 years agoFix comments.
Anthony Green [Mon, 14 Oct 2019 10:46:52 +0000 (06:46 -0400)]
Fix comments.

5 years agoUpdate copyright year
Anthony Green [Mon, 14 Oct 2019 09:47:07 +0000 (05:47 -0400)]
Update copyright year

5 years agoAdd long double test (#492)
zhanhb [Wed, 9 Oct 2019 10:59:32 +0000 (18:59 +0800)]
Add long double test (#492)

Required to fix build error on macos with gcc-9

5 years agoMaking the change to correct the comment when SUN (#521)
pichikaudaykiran [Wed, 9 Oct 2019 10:56:06 +0000 (16:26 +0530)]
Making the change to correct the comment when SUN (#521)

and GCC are used together

5 years agohandle compilation warnings with ftruncate API (#508)
pnallan [Tue, 8 Oct 2019 13:16:47 +0000 (18:46 +0530)]
handle compilation warnings with ftruncate API (#508)

* fix me: avoid warning while handle ftruncate API

Signed-off-by: Prasad Nallani <prasad.nallani@intel.com>
* Update closures.c

5 years agoClean up line endings (#509)
John Ericson [Tue, 8 Oct 2019 10:58:52 +0000 (06:58 -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.

5 years agoPowerPC bugfixes (#520)
Samuel Holland [Tue, 8 Oct 2019 10:57:28 +0000 (05:57 -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

5 years agoUse https for moxie toolchain repo
Anthony Green [Tue, 8 Oct 2019 10:24:55 +0000 (06:24 -0400)]
Use https for moxie toolchain repo

5 years agofix mingw build and crashing bugs for Python Windows ARM64 (#496)
Paul Monson [Wed, 7 Aug 2019 18:57:45 +0000 (11:57 -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

5 years agoClear the apt cache
Anthony Green [Wed, 26 Jun 2019 10:18:48 +0000 (06:18 -0400)]
Clear the apt cache

5 years agoMore debugging output
Anthony Green [Wed, 26 Jun 2019 10:01:15 +0000 (06:01 -0400)]
More debugging output

5 years agoDebug moxie builds in travis
Anthony Green [Wed, 26 Jun 2019 03:39:52 +0000 (23:39 -0400)]
Debug moxie builds in travis

5 years ago libffi: added ARM64 support for Windows (#486)
ossdev07 [Wed, 26 Jun 2019 02:01:22 +0000 (07:31 +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 <ossdev@puresoftware.com>
* Update README.md