aboutsummaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2010-01-01 12:46:02 +0000
committerAnthony Green <green@gcc.gnu.org>2010-01-01 12:46:02 +0000
commit50117ecbdb4127b71e071af0986c3cb51ceacd56 (patch)
tree80bd0a47fd8ab2040e785317dcea7817db48f607 /libffi
parentbc472c00543c367d819de2abc93ccbf73f6e5442 (diff)
downloadgcc-50117ecbdb4127b71e071af0986c3cb51ceacd56.zip
gcc-50117ecbdb4127b71e071af0986c3cb51ceacd56.tar.gz
gcc-50117ecbdb4127b71e071af0986c3cb51ceacd56.tar.bz2
Define HAVE_LONG_DOUBLE appropriately for MIPS.
From-SVN: r155552
Diffstat (limited to 'libffi')
-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
;;