ffi_darwin.c: Add flag for longdouble return values.
authorAndreas Tobler <a.tobler@schweiz.ch>
Thu, 2 Sep 2004 21:14:45 +0000 (23:14 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Thu, 2 Sep 2004 21:14:45 +0000 (23:14 +0200)
commit2fe7404ad443eacbce92cc0a695bd31d9b263bbb
treeeec92a0c95c7e91b95c4b2c40388a3ca9fc89d8b
parent16070e459c4951497cb097aa106ea78398bb698b
ffi_darwin.c: Add flag for longdouble return values.

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.

From-SVN: r86992
libffi/ChangeLog
libffi/src/powerpc/darwin.S
libffi/src/powerpc/darwin_closure.S
libffi/src/powerpc/ffi_darwin.c
libffi/src/types.c