* src/types.c (pointer): POWERPC64 has 8 byte pointers.
From-SVN: r77533
This commit is contained in:
parent
a41ea81624
commit
12001e0ff9
@ -1,5 +1,7 @@
|
|||||||
2004-02-09 Alan Modra <amodra@bigpond.net.au>
|
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.
|
* src/powerpc/ffi.c (ffi_prep_args64): Correct long double handling.
|
||||||
(ffi_closure_helper_LINUX64): Fix typo.
|
(ffi_closure_helper_LINUX64): Fix typo.
|
||||||
* testsuite/libffi.call/cls_align_longdouble.c: Pass -mlong-double-128
|
* testsuite/libffi.call/cls_align_longdouble.c: Pass -mlong-double-128
|
||||||
|
@ -43,7 +43,7 @@ FFI_INTEGRAL_TYPEDEF(sint32, 4, 4, FFI_TYPE_SINT32);
|
|||||||
FFI_INTEGRAL_TYPEDEF(float, 4, 4, FFI_TYPE_FLOAT);
|
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
|
|| defined IA64 || defined POWERPC64
|
||||||
|
|
||||||
FFI_INTEGRAL_TYPEDEF(pointer, 8, 8, FFI_TYPE_POINTER);
|
FFI_INTEGRAL_TYPEDEF(pointer, 8, 8, FFI_TYPE_POINTER);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user