]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Define HAVE_LONG_DOUBLE appropriately for MIPS.
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jan 2010 12:46:02 +0000 (12:46 +0000)
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jan 2010 12:46:02 +0000 (12:46 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155552 138bc75d-0d04-0410-961f-82ee72b054a4

libffi/ChangeLog
libffi/configure
libffi/configure.ac

index 02102dda6c52fd8f32944cc99616eb90c30e68ac..a7ff232716069c21d0e39cbdc2b7761e948208f6 100644 (file)
@@ -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
index 5ab81bd4183ea56d5dfff682cd1ab801af659dc7..43fc0ec6e428f8a55b45f614c5061edc52737bc9 100755 (executable)
@@ -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
        ;;
 
index b663076c11330e2bfc3759ab51971fa9304da4bb..c0e0da1650756a823a68a75c69213b6e37ae1e63 100644 (file)
@@ -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
        ;;