]> git.ipfire.org Git - thirdparty/gcc.git/commit
aix.S (ffi_call_AIX): Convert to more standard register usage.
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 2 Dec 2009 04:21:08 +0000 (04:21 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 2 Dec 2009 04:21:08 +0000 (23:21 -0500)
commit6d518d3b72692a2874122c903e5994db27bf5500
treeb9991c60f54fd4d9bfdf966f8f61502208b440ce
parent5e87bf4a142f66750f05b6319bf07b2dbf2c9f24
aix.S (ffi_call_AIX): Convert to more standard register usage.

        * src/powerpc/aix.S (ffi_call_AIX): Convert to more standard
        register usage.  Call ffi_prep_args directly.  Add long double
        return value support.
        * src/powerpc/ffi_darwin.c (ffi_prep_args): Double arg increment
        applies to FFI_TYPE_DOUBLE.  Correct fpr_base increment typo.
        Separate FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases.
        (ffi_prep_cif_machdep): Only 16 byte stack alignment in 64 bit
        mode.
        (ffi_closure_helper_DARWIN): Remove nf and ng counters.  Move temp
        into case.
        * src/powerpc/aix_closure.S: Maintain 16 byte stack alignment.
        Allocate result area between params and FPRs.

From-SVN: r154892
libffi/ChangeLog
libffi/src/powerpc/aix.S
libffi/src/powerpc/aix_closure.S
libffi/src/powerpc/ffi_darwin.c