diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-02-03 06:48:24 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-02-10 06:08:24 -0500 |
commit | 83658961f00dce5e4d8a3e52cd7268ea191a96eb (patch) | |
tree | 2dfcb530e4da35b29dcc10059218f768d7119b28 | |
parent | 92ac062ff638472aa3eeae1b895233d545aaf830 (diff) | |
download | glibc-83658961f00dce5e4d8a3e52cd7268ea191a96eb.tar glibc-83658961f00dce5e4d8a3e52cd7268ea191a96eb.tar.gz glibc-83658961f00dce5e4d8a3e52cd7268ea191a96eb.tar.bz2 glibc-83658961f00dce5e4d8a3e52cd7268ea191a96eb.zip |
powerpc: sysdeps/powerpc configure cleanup
Current minimum binutils supported (2.22) has ".machine altivec" support
as default, so there is no need to add a configure check for such
functionality. This patches removes the configure checks for it.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/powerpc/configure | 33 | ||||
-rw-r--r-- | sysdeps/powerpc/configure.ac | 21 |
3 files changed, 3 insertions, 54 deletions
@@ -1,5 +1,8 @@ 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com> + * sysdeps/powerpc/configure.ac: Remove file. + * sysdeps/powerpc/configure: Likewise. + * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile [sysdep_routines]: Remove wordcopy-power6 object. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c diff --git a/sysdeps/powerpc/configure b/sysdeps/powerpc/configure deleted file mode 100644 index fccee659a0..0000000000 --- a/sysdeps/powerpc/configure +++ /dev/null @@ -1,33 +0,0 @@ -# This file is generated from configure.ac by Autoconf. DO NOT EDIT! - # Local configure fragment for sysdeps/powerpc. - -# Accept binutils which knows about ".machine". -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .machine support" >&5 -$as_echo_n "checking for .machine support... " >&6; } -if ${libc_cv_ppc_machine+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat > conftest.s <<\EOF - .machine "altivec" - blr -EOF -if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5' - { { 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_ppc_machine=yes -else - libc_cv_ppc_machine=no -fi -rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ppc_machine" >&5 -$as_echo "$libc_cv_ppc_machine" >&6; } -if test $libc_cv_ppc_machine != yes; then - as_fn_error $? " -*** A binutils version which can handle -*** .machine \"altivec\" -*** is needed." "$LINENO" 5 -fi diff --git a/sysdeps/powerpc/configure.ac b/sysdeps/powerpc/configure.ac deleted file mode 100644 index 28cc85934d..0000000000 --- a/sysdeps/powerpc/configure.ac +++ /dev/null @@ -1,21 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/powerpc. - -# Accept binutils which knows about ".machine". -AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl -cat > conftest.s <<\EOF - .machine "altivec" - blr -EOF -if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then - libc_cv_ppc_machine=yes -else - libc_cv_ppc_machine=no -fi -rm -f conftest*]) -if test $libc_cv_ppc_machine != yes; then - AC_MSG_ERROR([ -*** A binutils version which can handle -*** .machine "altivec" -*** is needed.]) -fi |