This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libffi 3.0.10 release candidate 2 available for testing


On 2/9/2011 3:40 PM, Anthony Green wrote:
Great feedback so far. And here's...

ftp://sourceware.org/pub/libffi/libffi-3.0.10rc3.tar.gz

This includes some testsuite fixes, as well as gentoo's interix, irix
and darwin fixes.  I should have mentioned before that the rc2 tarball
included iOS support for the first time.

I won't be bombarding you with more test releases tomorrow, but it would
be great to get more test results up on the big board:

http://www.moxielogic.org/wiki/index.php?title=Libffi_3.0.10

Thanks!

AG

Below is a patch to correct a compilation failure on AIX PowerPC. The AIX assembler
requires external functions to be declared and requires a nop instruction to follow
branch instructions to external functions so that the linker can insert TOC reload
instructions.


--- libffi-3.0.10rc3.orig/src/powerpc/aix.S 2011-02-08 16:13:28.000000000 -0800
+++ libffi-3.0.10rc3/src/powerpc/aix.S 2011-02-10 23:02:52.000000000 -0800
@@ -79,6 +79,8 @@
.set f20,20
.set f21,21


+       .extern .ffi_prep_args
+
  #define LIBFFI_ASM
  #include <fficonfig.h>
  #include <ffi.h>
@@ -125,6 +127,7 @@
        /* Call ffi_prep_args.  */
        mr      r4, r1
        bl      .ffi_prep_args
+       nop

        /* Now do the call.  */
        ld      r0, 0(r29)
@@ -226,6 +229,7 @@
        /* Call ffi_prep_args.  */
        mr      r4, r1
        bl      .ffi_prep_args
+       nop

/* Now do the call. */
lwz r0, 0(r29)
diff -ur libffi-3.0.10rc3.orig/src/powerpc/aix_closure.S libffi-3.0.10rc3/src/powerpc/aix_closure.S
--- libffi-3.0.10rc3.orig/src/powerpc/aix_closure.S 2011-02-08 16:13:28.000000000 -0800
+++ libffi-3.0.10rc3/src/powerpc/aix_closure.S 2011-02-10 23:03:06.000000000 -0800
@@ -79,6 +79,8 @@
.set f20,20
.set f21,21


+       .extern .ffi_closure_helper_DARWIN
+
  #define LIBFFI_ASM
  #define JUMPTARGET(name) name
  #define L(x) x


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]