diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-02-09 13:10:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2004-02-09 23:40:37 +1030 |
commit | 12001e0ff90b5a446e192e5c9672b98bb89ac866 (patch) | |
tree | 7e5a4d5c61dd79525818433d79599cb3360a1112 /libffi | |
parent | a41ea816240813af6963fd45e97b2063e4335803 (diff) | |
download | gcc-12001e0ff90b5a446e192e5c9672b98bb89ac866.tar.gz |
* src/types.c (pointer): POWERPC64 has 8 byte pointers.
From-SVN: r77533
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 2 | ||||
-rw-r--r-- | libffi/src/types.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 76de0068a03..b8e3a301a05 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,5 +1,7 @@ 2004-02-09 Alan Modra <amodra@bigpond.net.au> + * src/types.c (pointer): POWERPC64 has 8 byte pointers. + * src/powerpc/ffi.c (ffi_prep_args64): Correct long double handling. (ffi_closure_helper_LINUX64): Fix typo. * testsuite/libffi.call/cls_align_longdouble.c: Pass -mlong-double-128 diff --git a/libffi/src/types.c b/libffi/src/types.c index b2e24579e1d..27fee3b7937 100644 --- a/libffi/src/types.c +++ b/libffi/src/types.c @@ -43,7 +43,7 @@ FFI_INTEGRAL_TYPEDEF(sint32, 4, 4, FFI_TYPE_SINT32); FFI_INTEGRAL_TYPEDEF(float, 4, 4, FFI_TYPE_FLOAT); #if defined ALPHA || defined SPARC64 || defined X86_64 || defined S390X \ - || defined IA64 + || defined IA64 || defined POWERPC64 FFI_INTEGRAL_TYPEDEF(pointer, 8, 8, FFI_TYPE_POINTER); |