Re: Fix PR libffi/60073

2014-02-17 Thread Eric Botcazou
This adds proper variadic support to the SPARC port of libffi, thus fixing a regression in the testsuite in 64-bit mode, and fixes a small inaccuracy in the documentation. Follow-up patch attached. It renames the existing FFI_V9 into FFI_COMPAT_V9 and defines a new FFI_V9 value. In order to

Re: Fix PR libffi/60073

2014-02-14 Thread Alan Modra
On Thu, Feb 13, 2014 at 05:18:10PM +0100, Eric Botcazou wrote: This adds proper variadic support to the SPARC port of libffi, thus fixing a regression in the testsuite in 64-bit mode, and fixes a small inaccuracy in the documentation. Tested on SPARC/Solaris and SPARC64/Solaris, applied on

Re: Fix PR libffi/60073

2014-02-14 Thread Eric Botcazou
Eric, sorry to rain on your parade, but you're making the same mistake I did at first when adding powerpc64le support to libffi. libffi is built as a shared library. You can't add a field to ffi_cif like this and uncondionally write to it: An application linked against an older version of

Fix PR libffi/60073

2014-02-13 Thread Eric Botcazou
This adds proper variadic support to the SPARC port of libffi, thus fixing a regression in the testsuite in 64-bit mode, and fixes a small inaccuracy in the documentation. Tested on SPARC/Solaris and SPARC64/Solaris, applied on the mainline. 2014-02-13 Eric Botcazou ebotca...@adacore.com

Fix PR libffi/60073

2014-02-13 Thread Eric Botcazou
This adds proper variadic support to the SPARC port of libffi, thus fixing a regression in the testsuite in 64-bit mode, and fixes a small inaccuracy in the documentation. Tested on SPARC/Solaris and SPARC64/Solaris, applied on the mainline. 2014-02-13 Eric Botcazou ebotca...@adacore.com