summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-26 22:24:05 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-26 22:24:05 +0000
commit4827afc9da6c4ab7f56b0c5eccedae1cb604259e (patch)
treef56469be5419070c1645fdffe09be656f0e2d9dd /libffi
parent11990af82b571e54cdfc9ba6307bbd5c02e270b4 (diff)
downloadgcc-4827afc9da6c4ab7f56b0c5eccedae1cb604259e.tar.gz
Fix Portable .NET bug with IA-64 pointer size.
* 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
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog4
-rw-r--r--libffi/src/types.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index c36ff7f5c29..026acd9a50d 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -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.
diff --git a/libffi/src/types.c b/libffi/src/types.c
index 8d1241de388..ae52f11f78c 100644
--- a/libffi/src/types.c
+++ b/libffi/src/types.c
@@ -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);
-#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);