This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
correct libffi pointer size on powerpc64
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 9 Feb 2004 23:42:12 +1030
- Subject: correct libffi pointer size on powerpc64
Applying as obvious.
* src/types.c (pointer): POWERPC64 has 8 byte pointers.
Index: libffi/src/types.c
===================================================================
RCS file: /cvs/gcc/gcc/libffi/src/types.c,v
retrieving revision 1.13
diff -u -p -r1.13 types.c
--- libffi/src/types.c 7 Feb 2004 03:11:59 -0000 1.13
+++ libffi/src/types.c 9 Feb 2004 12:16:57 -0000
@@ -43,7 +43,7 @@ FFI_INTEGRAL_TYPEDEF(sint32, 4, 4, FFI_T
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);
--
Alan Modra
IBM OzLabs - Linux Technology Centre