summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
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);