summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-09 13:10:37 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-09 13:10:37 +0000
commitad98ab60490c924422914e3643b917e6c2482c6a (patch)
tree7e5a4d5c61dd79525818433d79599cb3360a1112 /libffi
parent913ab0bcf89d43928f8fee35b22602d841d39c3a (diff)
downloadgcc-ad98ab60490c924422914e3643b917e6c2482c6a.tar.gz
* src/types.c (pointer): POWERPC64 has 8 byte pointers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77533 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog2
-rw-r--r--libffi/src/types.c2
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);