aboutsummaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-02-07 03:11:59 +0000
committerAlan Modra <amodra@gcc.gnu.org>2004-02-07 13:41:59 +1030
commitdd5f9ea23b6b5fbb1f270572ee0a2dc01d8d50e3 (patch)
tree8e0ba0230d3c4e83a4a05e1e6519e82f8580fd68 /libffi
parentfb7e4164c03f723aaf0abc3dffe3f743d8888eba (diff)
downloadgcc-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/ChangeLog4
-rw-r--r--libffi/src/types.c2
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);