Hi all, yeah, I shot myself in the toe. When I added FFI_LINUX_SOFT_FLOAT support I did mess up with SMALL_STRUCTS on FFI_SYSV. Reminds me to always TEST! This patch fixes libffi compilation and test suite on powerpc-unknown-freebsd. Tested on 4.3 and 4.4, aka. trunk. On 4.3 no failures, on trunk some issues with _Unwind_GetIPInfo in the unwind tests. These I'll address later. These are _not_ part of my mess. Ok for 4.3 and trunk? Test Run By andreast on Mon Aug 18 21:35:35 2008 Native configuration is powerpc-unknown-freebsd7.0 === libffi tests === Schedule of variations: unix === libffi Summary === # of expected passes 1389 # of unsupported tests 10 Thanks, Andreas 2008-08-18 Andreas Tobler * src/powerpc/ffitarget.h (ffi_abi): Add FFI_LINUX and FFI_LINUX_SOFT_FLOAT to the POWERPC_FREEBSD enum. Adjust copyright notice. * src/powerpc/ffi.c (ffi_prep_cif_machdep): Fix bit position calculation for FFI_SYSV_TYPE_SMALL_STRUCT. (ffi_closure_helper_SYSV): Fix return type for FFI_SYSV_TYPE_SMALL_STRUCT. Adjust copyright notice.