]> sourceware.org Git - glibc.git/commitdiff
Remove assembler -mtune=i686 configure test.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 15 Oct 2015 20:28:27 +0000 (20:28 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 15 Oct 2015 20:28:27 +0000 (20:28 +0000)
There is a configure test for assembler support for -mtune=i686.  This
option was added in binutils 2.18 so the test is obsolete; this patch
removes it.

Tested for x86 (testsuite, and that installed shared libraries are
unchanged by the patch).

* sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
test.
* sysdeps/i386/configure: Regenerated.
* sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
code unconditional.

ChangeLog
sysdeps/i386/configure
sysdeps/i386/configure.ac
sysdeps/i386/i686/Makefile

index cb49047fae2ff65b19170fe3d3160ec7cdf8099f..77878ded96b0c8eca26a59cf093d070b47728101 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
 
+       * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
+       test.
+       * sysdeps/i386/configure: Regenerated.
+       * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
+       code unconditional.
+
        * configure.ac (libc_cv_asm_previous_directive): Remove configure
        test.
        (libc_cv_asm_popsection_directive): Likewise.
index 0abafe3de8d8a9ffaee535c06dbf670ca04d7ea7..1fc13aba6b48f68e059ce147aa45f00eafe020ca 100644 (file)
@@ -92,28 +92,6 @@ fi
 
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler -mtune=i686 support" >&5
-$as_echo_n "checking for assembler -mtune=i686 support... " >&6; }
-if ${libc_cv_as_i686+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  if { ac_try='${CC-cc} -Wa,-mtune=i686 -xc /dev/null -S -o /dev/null'
-  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then :
-  libc_cv_as_i686=yes
-else
-  libc_cv_as_i686=no
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_i686" >&5
-$as_echo "$libc_cv_as_i686" >&6; }
-config_vars="$config_vars
-config-asflags-i686 = $libc_cv_as_i686"
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel MPX support" >&5
 $as_echo_n "checking for Intel MPX support... " >&6; }
 if ${libc_cv_asm_mpx+:} false; then :
index 21b1c8f21881f5015eff5db0c36cd06f9d67ad59..7f2e4ccd019e67b5e51039a898cd85afddd96ffd 100644 (file)
@@ -34,14 +34,6 @@ AC_CHECK_HEADER([cpuid.h], ,
   [AC_MSG_ERROR([gcc must provide the <cpuid.h> header])],
   [/* No default includes.  */])
 
-dnl Check if -Wa,-mtune=i686 works.
-AC_CACHE_CHECK(for assembler -mtune=i686 support, libc_cv_as_i686, [dnl
-LIBC_TRY_CC_OPTION([-Wa,-mtune=i686],
-                  [libc_cv_as_i686=yes],
-                  [libc_cv_as_i686=no])
-])
-LIBC_CONFIG_VAR([config-asflags-i686], [$libc_cv_as_i686])
-
 dnl Check whether asm supports Intel MPX
 AC_CACHE_CHECK(for Intel MPX support, libc_cv_asm_mpx, [dnl
 cat > conftest.s <<\EOF
index bafe5f7d610e9336db930ab527c5c8c8c823e26d..e3a3201c4b25c5f64bb296fde868a03211658fef 100644 (file)
@@ -1,7 +1,6 @@
 # So that we can test __m128's alignment
 stack-align-test-flags += -msse
 
-ifeq (yes,$(config-asflags-i686))
 CFLAGS-.o += -Wa,-mtune=i686
 CFLAGS-.os += -Wa,-mtune=i686
 CFLAGS-.op += -Wa,-mtune=i686
@@ -13,4 +12,3 @@ ASFLAGS-.os += -Wa,-mtune=i686
 ASFLAGS-.op += -Wa,-mtune=i686
 ASFLAGS-.og += -Wa,-mtune=i686
 ASFLAGS-.oS += -Wa,-mtune=i686
-endif
This page took 0.091264 seconds and 5 git commands to generate.