]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2006-01-30 Alexandre Oliva <aoliva@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 30 Jan 2006 22:41:14 +0000 (22:41 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 30 Jan 2006 22:41:14 +0000 (22:41 +0000)
            Roland McGrath  <roland@redhat.com>

* configure.in (fno_unit_at_a_time): Set to
-fno-toplevel-reorder if the compiler supports it.
Otherwise use -fno-unit-at-a-time unconditionally.
* configure: Regenerated.

ChangeLog
configure
configure.in

index 74eaa2040c860d3c2aa8c43543309a1aad02abad..94272580afac224eee0793ea85d0b15540abf208 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-01-30  Alexandre Oliva  <aoliva@redhat.com>
+            Roland McGrath  <roland@redhat.com>
+
+       * configure.in (fno_unit_at_a_time): Set to
+       -fno-toplevel-reorder if the compiler supports it.
+       Otherwise use -fno-unit-at-a-time unconditionally.
+       * configure: Regenerated.
+
 2006-01-30  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older
index 448ef5b4f0729eb6291af4047efdd901a5b885a9..b1724255c961447e3d40ed3777042aee9702d737 100755 (executable)
--- a/configure
+++ b/configure
@@ -5800,15 +5800,15 @@ echo "${ECHO_T}$libc_cv_fpie" >&6
 
 fi
 
-echo "$as_me:$LINENO: checking for -fno-unit-at-a-time" >&5
-echo $ECHO_N "checking for -fno-unit-at-a-time... $ECHO_C" >&6
-if test "${libc_cv_fno_unit_at_a_time+set}" = set; then
+echo "$as_me:$LINENO: checking for -fno-toplevel-reorder" >&5
+echo $ECHO_N "checking for -fno-toplevel-reorder... $ECHO_C" >&6
+if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat > conftest.c <<EOF
 int foo;
 EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-unit-at-a-time
+if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder
                            conftest.c 1>&5'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
@@ -5816,15 +5816,17 @@ if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-unit-at-a-time
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }
 then
-  libc_cv_fno_unit_at_a_time=yes
+  libc_cv_fno_toplevel_reorder=yes
 else
-  libc_cv_fno_unit_at_a_time=no
+  libc_cv_fno_toplevel_reorder=no
 fi
 rm -f conftest*
 fi
-echo "$as_me:$LINENO: result: $libc_cv_fno_unit_at_a_time" >&5
-echo "${ECHO_T}$libc_cv_fno_unit_at_a_time" >&6
-if test $libc_cv_fno_unit_at_a_time = yes; then
+echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
+echo "${ECHO_T}$libc_cv_fno_toplevel_reorder" >&6
+if test $libc_cv_fno_toplevel_reorder = yes; then
+  fno_unit_at_a_time=-fno-toplevel-reorder
+else
   fno_unit_at_a_time=-fno-unit-at-a-time
 fi
 
index b5d4e3ff4b15578f0ddc37f677b2e1e1bf49cc84..dfbf3f14205a97046483fe7b2fd8f84e00a19bae 100644 (file)
@@ -1515,19 +1515,21 @@ EOF
   AC_SUBST(libc_cv_fpie)
 fi
 
-AC_CACHE_CHECK(for -fno-unit-at-a-time, libc_cv_fno_unit_at_a_time, [dnl
+AC_CACHE_CHECK(for -fno-toplevel-reorder, libc_cv_fno_toplevel_reorder, [dnl
 cat > conftest.c <<EOF
 int foo;
 EOF
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -S -fno-unit-at-a-time
+if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder
                            conftest.c 1>&AS_MESSAGE_LOG_FD])
 then
-  libc_cv_fno_unit_at_a_time=yes
+  libc_cv_fno_toplevel_reorder=yes
 else
-  libc_cv_fno_unit_at_a_time=no
+  libc_cv_fno_toplevel_reorder=no
 fi
 rm -f conftest*])
-if test $libc_cv_fno_unit_at_a_time = yes; then
+if test $libc_cv_fno_toplevel_reorder = yes; then
+  fno_unit_at_a_time=-fno-toplevel-reorder
+else
   fno_unit_at_a_time=-fno-unit-at-a-time
 fi
 AC_SUBST(fno_unit_at_a_time)