OSDN Git Service

Fix Portable .NET bug with IA-64 pointer size.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Nov 2002 22:24:05 +0000 (22:24 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Nov 2002 22:24:05 +0000 (22:24 +0000)
* src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59541 138bc75d-0d04-0410-961f-82ee72b054a4

libffi/ChangeLog
libffi/src/types.c

index c36ff7f..026acd9 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-26  Jim Wilson  <wilson@redhat.com>
+
+       * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
+
 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding.
index 8d1241d..ae52f11 100644 (file)
@@ -42,7 +42,8 @@ FFI_INTEGRAL_TYPEDEF(uint32, 4, 4, FFI_TYPE_UINT32);
 FFI_INTEGRAL_TYPEDEF(sint32, 4, 4, FFI_TYPE_SINT32);
 FFI_INTEGRAL_TYPEDEF(float, 4, 4, FFI_TYPE_FLOAT);
 
 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
+#if defined ALPHA || defined SPARC64 || defined X86_64 || defined S390X \
+    || defined IA64
 
 FFI_INTEGRAL_TYPEDEF(pointer, 8, 8, FFI_TYPE_POINTER);
 
 
 FFI_INTEGRAL_TYPEDEF(pointer, 8, 8, FFI_TYPE_POINTER);