aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libffi/ChangeLog6
-rwxr-xr-xlibffi/configure2
-rw-r--r--libffi/configure.ac2
3 files changed, 10 insertions, 0 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 02102dd..a7ff232 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-27 Matthias Klose <doko@ubuntu.com>
+
+ * configure.ac (HAVE_LONG_DOUBLE): Define for mips when
+ appropriate.
+ * configure: Rebuilt.
+
2009-12-26 Anthony Green <green@redhat.com>
* testsuite/libffi.call/cls_longdouble_va.c: Mark as xfail for
diff --git a/libffi/configure b/libffi/configure
index 5ab81bd..43fc0ec 100755
--- a/libffi/configure
+++ b/libffi/configure
@@ -11388,6 +11388,8 @@ case "$host" in
TARGET=MIPS; TARGETDIR=mips
;;
mips*-*-linux*)
+ # Support 128-bit long double for NewABI.
+ HAVE_LONG_DOUBLE='defined(__mips64)'
TARGET=MIPS; TARGETDIR=mips
;;
diff --git a/libffi/configure.ac b/libffi/configure.ac
index b663076..c0e0da1 100644
--- a/libffi/configure.ac
+++ b/libffi/configure.ac
@@ -111,6 +111,8 @@ case "$host" in
TARGET=MIPS; TARGETDIR=mips
;;
mips*-*-linux*)
+ # Support 128-bit long double for NewABI.
+ HAVE_LONG_DOUBLE='defined(__mips64)'
TARGET=MIPS; TARGETDIR=mips
;;