From patchwork Tue Feb 3 19:42:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 4901 X-Patchwork-Delegate: azanella@linux.vnet.ibm.com Received: (qmail 31663 invoked by alias); 3 Feb 2015 19:43:01 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 31635 invoked by uid 89); 3 Feb 2015 19:43:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e24smtp03.br.ibm.com Message-ID: <54D124B9.6000204@linux.vnet.ibm.com> Date: Tue, 03 Feb 2015 17:42:49 -0200 From: Adhemerval Zanella User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "GNU C. Library" Subject: [PATCH] powerpc: sysdeps/powerpc configure cleanup X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15020319-0025-0000-0000-000002F8EB51 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. Checked on powerpc32-fpu and powerpc64. --- * sysdeps/powerpc/configure.ac: Remove file. * sysdeps/powerpc/configure: Likewise. -- diff --git a/sysdeps/powerpc/configure b/sysdeps/powerpc/configure deleted file mode 100644 index fccee65..0000000 --- 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 28cc859..0000000 --- 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