* src/types.c: Use 16 byte long double for POWERPC64.
authorAlan Modra <amodra@bigpond.net.au>
Sat, 7 Feb 2004 03:11:59 +0000 (03:11 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 7 Feb 2004 03:11:59 +0000 (13:41 +1030)
From-SVN: r77441

libffi/ChangeLog
libffi/src/types.c

index c2df6b7..d19883a 100644 (file)
@@ -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
index df32190..b2e2457 100644 (file)
@@ -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);