From: Matthias Klose <doko@ubuntu.com>
To: Anthony Green <green@moxielogic.com>
Cc: libffi-discuss@sourceware.org,
David Gilbert <david.gilbert@linaro.org>,
GCJ-patches <java-patches@gcc.gnu.org>
Subject: Re: Please help test libffi 3.0.11-rc3
Date: Fri, 06 Apr 2012 20:30:00 -0000 [thread overview]
Message-ID: <4F7F5233.7060508@ubuntu.com> (raw)
In-Reply-To: <CACxje586xNJF1J4mOZeqD9HCUbuR7iK6Eb+dtYCUEZ3y12zagA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]
[ CC'ing David although I don't know if his Linaro address will still work]
On 06.04.2012 14:28, Anthony Green wrote:
> I've uploaded release candidate 3 for testing here:
> ftp://sourceware.org/pub/libffi/libffi-3.0.11-rc3.tar.gz
>
> Please test it on whatever systems you have at your disposal, and
> update the testing wiki here:
> http://www.moxielogic.org/wiki/index.php/Libffi_3.0.11
>
> I'd like to make a release within a week.
>
> Here's what the README says about 3.0.11...
>
> Add support for variadic functions (ffi_prep_cif_var).
> Add Linux/x32 support.
> Add thiscall, fastcall and MSVC cdecl support on Windows.
> Add Amiga and newer MacOS support.
> Fix Octeon and MC68881 support.
> Add m68k FreeMiNT support.
> Fix code pessimizations.
> Lots of build fixes.
>
> Let me know if I should add anything else.
I see that some of the armhf-variadic patches are not applied, attached. Please
could you confirm if dropping these changes is deliberate?
Thanks, Matthias
[-- Attachment #2: armhf-varargs.diff --]
[-- Type: text/plain, Size: 1565 bytes --]
--- libffi-3.0.11~rc1.orig/testsuite/libffi.call/cls_double_va.c
+++ libffi-3.0.11~rc1/testsuite/libffi.call/cls_double_va.c
@@ -7,7 +7,6 @@
/* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
/* { dg-output "" { xfail avr32*-*-* } } */
/* { dg-output "" { xfail mips-sgi-irix6* } } PR libffi/46660 */
-/* { dg-skip-if "" arm*-*-* { "-mfloat-abi=hard" } { "" } } */
#include "ffitest.h"
--- libffi-3.0.11~rc1.orig/testsuite/libffi.call/cls_longdouble_va.c
+++ libffi-3.0.11~rc1/testsuite/libffi.call/cls_longdouble_va.c
@@ -7,7 +7,6 @@
/* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
/* { dg-output "" { xfail avr32*-*-* x86_64-*-mingw* } } */
/* { dg-output "" { xfail mips-sgi-irix6* } } PR libffi/46660 */
-/* { dg-skip-if "" arm*-*-* { "-mfloat-abi=hard" } { "" } } */
#include "ffitest.h"
--- libffi-3.0.11~rc1.orig/src/arm/ffi.c
+++ libffi-3.0.11~rc1/src/arm/ffi.c
@@ -189,6 +189,18 @@ ffi_status ffi_prep_cif_machdep(ffi_cif
return FFI_OK;
}
+/* Perform machine dependent cif processing for variadic calls */
+ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif,
+ unsigned int nfixedargs,
+ unsigned int ntotalargs)
+{
+ /* VFP variadic calls actually use the SYSV ABI */
+ if (cif->abi == FFI_VFP)
+ cif->abi = FFI_SYSV;
+
+ return ffi_prep_cif_machdep(cif);
+}
+
/* Prototypes for assembly functions, in sysv.S */
extern void ffi_call_SYSV (void (*fn)(void), extended_cif *, unsigned, unsigned, unsigned *);
extern void ffi_call_VFP (void (*fn)(void), extended_cif *, unsigned, unsigned, unsigned *);
next parent reply other threads:[~2012-04-06 20:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CACxje586xNJF1J4mOZeqD9HCUbuR7iK6Eb+dtYCUEZ3y12zagA@mail.gmail.com>
2012-04-06 20:30 ` Matthias Klose [this message]
2012-04-06 21:02 ` Anthony Green
2012-04-07 11:29 ` Matthias Klose
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F7F5233.7060508@ubuntu.com \
--to=doko@ubuntu.com \
--cc=david.gilbert@linaro.org \
--cc=green@moxielogic.com \
--cc=java-patches@gcc.gnu.org \
--cc=libffi-discuss@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).