diff options
author | Jim Wilson <wilson@redhat.com> | 2002-11-26 22:24:05 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2002-11-26 14:24:05 -0800 |
commit | bc3cf760721b623f8a7ec325a42dd9508e1c8ef8 (patch) | |
tree | f56469be5419070c1645fdffe09be656f0e2d9dd /libffi | |
parent | 32e098dd9899200f63a8944371038846fdb49915 (diff) | |
download | gcc-bc3cf760721b623f8a7ec325a42dd9508e1c8ef8.zip gcc-bc3cf760721b623f8a7ec325a42dd9508e1c8ef8.tar.gz gcc-bc3cf760721b623f8a7ec325a42dd9508e1c8ef8.tar.bz2 |
Fix Portable .NET bug with IA-64 pointer size.
* src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64.
From-SVN: r59541
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 4 | ||||
-rw-r--r-- | libffi/src/types.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index c36ff7f..026acd9 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 8d1241d..ae52f11 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); |