diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 02102dda6c5..a7ff2327160 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,9 @@ +2009-12-27 Matthias Klose + + * configure.ac (HAVE_LONG_DOUBLE): Define for mips when + appropriate. + * configure: Rebuilt. + 2009-12-26 Anthony Green * testsuite/libffi.call/cls_longdouble_va.c: Mark as xfail for diff --git a/libffi/configure b/libffi/configure index 5ab81bd4183..43fc0ec6e42 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 b663076c113..c0e0da16507 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 ;;