[patch] libffi, fix powerpc-unknown-freebsd
David Edelsohn
dje.gcc@gmail.com
Wed Aug 20 15:18:00 GMT 2008
* 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.
Okay.
Please add more documentation for FFI_SYSV_TYPE_SMALL_STRUCT -- what
it represents and that it uses two bits.
Thanks, David
More information about the Gcc-patches
mailing list