IainS,
Your patch completely broke libffi on AIX and your changes were not
Darwin-specific, despite Mike Stump's comment with his approval.
AIX shares ffi_darwin.c, as one should be able to see from all of the
AIX comments in the file.
aix_closure.S expects ffi_closure_helper_DARWIN to return
This patch applies the same logic to aix_closure.S that was modified
in darwin_closure.S, returning from 100% failure to:
=== libffi Summary ===
# of expected passes1638
# of unexpected failures13
# of unsupported tests 55
*