bid_functions.h: Check for __GLIBC__ additionally to LINUX when defining format speci...
authorThomas Schwinge <thomas@codesourcery.com>
Sun, 4 Nov 2012 23:08:42 +0000 (00:08 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Sun, 4 Nov 2012 23:08:42 +0000 (00:08 +0100)
libgcc/config/libbid/
* bid_functions.h: Check for __GLIBC__ additionally to LINUX when
defining format specifiers.

config/
* dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.

gcc/
* configure: Regenerate.

libdecnumber/
* configure: Regenerate.

libgcc/
* configure: Regenerate.

From-SVN: r193143

config/ChangeLog
config/dfp.m4
gcc/ChangeLog
gcc/configure
libdecnumber/ChangeLog
libdecnumber/configure
libgcc/ChangeLog
libgcc/config/libbid/ChangeLog
libgcc/config/libbid/bid_functions.h
libgcc/configure

index c74839ac3c64dcd43ec373a7c51fecd78fefe40b..56dc9b3bad6f9cbd8119fbc2e3932e0a8eec0a9f 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.
+
 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
 
        * gthr.m4: New. Define GCC_AC_THREAD_HEADER.
index cc778b19bbb22eec393895566b9526691412705d..e971db4dc918c26d60b9f52b1e4da164acb4e44e 100644 (file)
@@ -21,6 +21,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
 [
   case $1 in
     powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+    i?86*-*-gnu* | \
     i?86*-*-mingw* | x86_64*-*-mingw* | \
     i?86*-*-cygwin*)
       enable_decimal_float=yes
index 5ee5ef7f8d44c4a9e8e5a670c1359b8f3b83691a..91b970a3706932270c8209959a39b1bfb7b61466 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * configure: Regenerate.
+
 2012-11-04  Eric Botcazou  <ebotcazou@adacore.com>
 
        * combine.c: Adjust toplevel comment.
index 4c90e9b795418a5fd978efde873b61d322eb93de..681aba930c416b61c5f9931ff85749cbce5dc980 100755 (executable)
@@ -7038,6 +7038,7 @@ else
 
   case $target in
     powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+    i?86*-*-gnu* | \
     i?86*-*-mingw* | x86_64*-*-mingw* | \
     i?86*-*-cygwin*)
       enable_decimal_float=yes
@@ -17785,7 +17786,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 17788 "configure"
+#line 17789 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -17891,7 +17892,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 17894 "configure"
+#line 17895 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index ec3de316b9981b1314527c73681a3e492726d5d7..138aa6edc8fd6cdbe4d9566ac798fade01d14a9d 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * configure: Regenerate.
+
 2011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
 
        * configure: Regenerate.
index 2b5868485166dde148419a04702f19a7a8d5717e..0466371c7a2772ca24de9681a748c6320d24ce84 100755 (executable)
@@ -4611,6 +4611,7 @@ else
 
   case $target in
     powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+    i?86*-*-gnu* | \
     i?86*-*-mingw* | x86_64*-*-mingw* | \
     i?86*-*-cygwin*)
       enable_decimal_float=yes
index 87e8a27e8556dcc394bc79c6214c4de4a8ee2c17..8f367b42a6c7861f2dfb6c5f0dd778ad48204786 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * configure: Regenerate.
+
 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/55175
index d7f52794859b9612c2829d2ecee330437f1152bc..3dc721b52a142efd9dc7d3200ebce51d0ba2d158 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * bid_functions.h: Check for __GLIBC__ additionally to LINUX when
+       defining format specifiers.
+
 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        * bid128_fromstring.c: Removed.
index 579370ae8dbc5052009d7f72c68ba4ca3d009b8a..6dd8e84e8792bd8d3920d16a88800c10ebb735e6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007, 2009  Free Software Foundation, Inc.
+/* Copyright (C) 2007, 2009, 2012 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -124,7 +124,7 @@ ALIGN (16)
 #define DENORMAL_MODE           0x00000100
 #define INVALID_MODE            0x00000080
 
-#if defined LINUX || defined SUNOS
+#if defined LINUX || defined __GLIBC__ || defined SUNOS
 #define LX16  "%016llx"
 #define LX    "%llx"
 #define LD4   "%4llu"
index ed6eabf2a5fe10f18659ffd906b4371000d43ea0..1425df6c0de0f70260ec1b247abdcbf3ed372adb 100644 (file)
@@ -4076,6 +4076,7 @@ else
 
   case $host in
     powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+    i?86*-*-gnu* | \
     i?86*-*-mingw* | x86_64*-*-mingw* | \
     i?86*-*-cygwin*)
       enable_decimal_float=yes