* src/types.c (pointer): POWERPC64 has 8 byte pointers.
authorAlan Modra <amodra@bigpond.net.au>
Mon, 9 Feb 2004 13:10:37 +0000 (13:10 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 9 Feb 2004 13:10:37 +0000 (23:40 +1030)
From-SVN: r77533

libffi/ChangeLog
libffi/src/types.c

index 76de006..b8e3a30 100644 (file)
@@ -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
index b2e2457..27fee3b 100644 (file)
@@ -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);