[patch] libffi longdouble for darwin

Andreas Tobler toa@pop.agri.ch
Thu Sep 2 21:46:00 GMT 2004


Hi,

I commit the attached patch to main. After approval from Geoffk and David.

Andreas

2004-09-02  Andreas Tobler  <a.tobler@schweiz.ch>

	* src/powerpc/ffi_darwin.c: Add flag for longdouble return values.
	(ffi_prep_args): Handle longdouble arguments.
	(ffi_prep_cif_machdep): Set flags for longdouble. Calculate space for
	longdouble.
	(ffi_closure_helper_DARWIN): Add closure handling for longdouble.
	* src/powerpc/darwin.S (_ffi_call_DARWIN): Add handling of longdouble
	values.
	* src/powerpc/darwin_closure.S (_ffi_closure_ASM): Likewise.
	* src/types.c: Defined longdouble size and alignment for darwin.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffi-ld-darwin2.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040902/4a1db088/attachment.ksh>


More information about the Gcc-patches mailing list