diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-02-07 03:11:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2004-02-07 13:41:59 +1030 |
commit | dd5f9ea23b6b5fbb1f270572ee0a2dc01d8d50e3 (patch) | |
tree | 8e0ba0230d3c4e83a4a05e1e6519e82f8580fd68 /libffi | |
parent | fb7e4164c03f723aaf0abc3dffe3f743d8888eba (diff) | |
download | gcc-dd5f9ea23b6b5fbb1f270572ee0a2dc01d8d50e3.zip gcc-dd5f9ea23b6b5fbb1f270572ee0a2dc01d8d50e3.tar.gz gcc-dd5f9ea23b6b5fbb1f270572ee0a2dc01d8d50e3.tar.bz2 |
* src/types.c: Use 16 byte long double for POWERPC64.
From-SVN: r77441
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 4 | ||||
-rw-r--r-- | libffi/src/types.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index c2df6b7..d19883a 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,7 @@ +2004-02-07 Alan Modra <amodra@bigpond.net.au> + + * src/types.c: Use 16 byte long double for POWERPC64. + 2004-01-25 Eric Botcazou <ebotcazou@libertysurf.fr> * src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array diff --git a/libffi/src/types.c b/libffi/src/types.c index df32190..b2e2457 100644 --- a/libffi/src/types.c +++ b/libffi/src/types.c @@ -90,7 +90,7 @@ FFI_INTEGRAL_TYPEDEF(longdouble, 16, 16, FFI_TYPE_LONGDOUBLE); FFI_INTEGRAL_TYPEDEF(longdouble, 16, 8, FFI_TYPE_LONGDOUBLE); #endif -#elif defined X86_64 +#elif defined X86_64 || defined POWERPC64 FFI_INTEGRAL_TYPEDEF(double, 8, 8, FFI_TYPE_DOUBLE); FFI_INTEGRAL_TYPEDEF(longdouble, 16, 16, FFI_TYPE_LONGDOUBLE); |