types.c (double): Add AIX and Darwin to the right TYPEDEF.
authorAndreas Tobler <a.tobler@schweiz.ch>
Thu, 18 Sep 2003 18:23:47 +0000 (20:23 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Thu, 18 Sep 2003 18:23:47 +0000 (20:23 +0200)
commit69b182fda603ed65448103a22ce4ad76744e6229
tree99afd39ab065417371a20ca4fe2ef9d169b8e006
parent85b22f7857a745d8ec12d88d61b770a598208ecf
types.c (double): Add AIX and Darwin to the right TYPEDEF.

2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>
    David Edelsohn  <edelsohn@gnu.org>

* src/types.c (double): Add AIX and Darwin to the right TYPEDEF.
* src/powerpc/aix_closure.S: Remove the pointer to the outgoing
parameter stack.
* src/powerpc/darwin_closure.S: Likewise.
* src/powerpc/ffi_darwin.c (ffi_prep_args): Handle structures
according to the Darwin/AIX ABI.
(ffi_prep_cif_machdep): Likewise.
(ffi_closure_helper_DARWIN): Likewise.
Remove the outgoing parameter stack logic. Simplify the evaluation
of the different CASE types.
(ffi_prep_clousure): Avoid the casts on lvalues. Change the branch
statement in the trampoline code.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r71530
libffi/ChangeLog
libffi/src/powerpc/aix_closure.S
libffi/src/powerpc/darwin_closure.S
libffi/src/powerpc/ffi_darwin.c
libffi/src/types.c