[PATCH] Linux/PPC64 closures

Marcus Comstedt marcus@mc.pp.se
Mon Jul 21 21:30:00 GMT 2008


Hi again.

Well, since there were no replies to my previous post, I take it
that there are no objections to the suggestion that r2 should be
used as the closure pointer instead of r11 in the Linux/PPC64
closures, for increased portability?

Hence, I'm attaching a patch to make that change.  With this patch,
libffi closures work fine with IBM JDK 1.6.0.1.  This patch is against
libffi-3.0.4, but I expect it to apply cleanly to HEAD as well.


  // Marcus


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffi_ppc64_closure_fix.patch
Type: text/x-diff
Size: 777 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libffi-discuss/attachments/20080721/fcfb94d0/attachment.bin>


More information about the Libffi-discuss mailing list