summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-07 03:11:59 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-07 03:11:59 +0000
commit3474a08577bf4c7ee13c9ecf7c0707fa700c2b4d (patch)
tree8e0ba0230d3c4e83a4a05e1e6519e82f8580fd68 /libffi
parent325ade6e7204aa76008fd23323b8d6f258ac0f9f (diff)
downloadgcc-3474a08577bf4c7ee13c9ecf7c0707fa700c2b4d.tar.gz
* src/types.c: Use 16 byte long double for POWERPC64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77441 138bc75d-0d04-0410-961f-82ee72b054a4
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 c2df6b7a19d..d19883ae7a9 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 df32190d115..b2e24579e1d 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);