OSDN Git Service

* src/types.c (pointer): POWERPC64 has 8 byte pointers.
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 13:10:37 +0000 (13:10 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 13:10:37 +0000 (13:10 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77533 138bc75d-0d04-0410-961f-82ee72b054a4

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);