diff options
author | Matthias Klose <doko@ubuntu.com> | 2010-01-01 12:46:02 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2010-01-01 12:46:02 +0000 |
commit | 50117ecbdb4127b71e071af0986c3cb51ceacd56 (patch) | |
tree | 80bd0a47fd8ab2040e785317dcea7817db48f607 | |
parent | bc472c00543c367d819de2abc93ccbf73f6e5442 (diff) | |
download | gcc-50117ecbdb4127b71e071af0986c3cb51ceacd56.zip gcc-50117ecbdb4127b71e071af0986c3cb51ceacd56.tar.gz gcc-50117ecbdb4127b71e071af0986c3cb51ceacd56.tar.bz2 |
Define HAVE_LONG_DOUBLE appropriately for MIPS.
From-SVN: r155552
-rw-r--r-- | libffi/ChangeLog | 6 | ||||
-rwxr-xr-x | libffi/configure | 2 | ||||
-rw-r--r-- | libffi/configure.ac | 2 |
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 ;; |