Hi all, this patch adds soft float support for libffi-ppc 32-bit. Tested by Martin and me on a ppc-405 target. Libffi and libjava, on trunk. No negative influence on real ppc with fpu. This patch 'fixes' pr31937. The patch itself makes sure not to store float/double in the asm part. Also, the patch 'changes' the ABI to store float as UINT32 and double as UINT64. Ok for trunk? Thanks, Andreas 2007-11-06 Andreas Tobler PR libffi/31937 * src/powerpc/ffi.c (enum): Add __NO_FPRS__, handle soft-float support. (ffi_prep_args_SYSV): Handle __NO_FPRS__. (ffi_prep_cif_machdep): Likewise. (ffi_closure_helper_SYSV): Likewise. * src/powerpc/ppc_closure.S: Make sure not to store float/double on SOFT_FLOAT archs.