From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26477 invoked by alias); 5 Jan 2005 09:18:14 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 26395 invoked from network); 5 Jan 2005 09:18:04 -0000 Received: from unknown (HELO mail.libertysurf.net) (213.36.80.91) by sourceware.org with SMTP; 5 Jan 2005 09:18:04 -0000 Received: from dyn-83-156-210-142.ppp.tiscali.fr (83.156.210.142) by mail.libertysurf.net (7.1.026) id 41A46BF600B91EEB for binutils@sources.redhat.com; Wed, 5 Jan 2005 10:18:03 +0100 From: Eric Botcazou To: binutils@sources.redhat.com Subject: [PATCH] Fix ld/configure.host on sparc64-sun-solaris2* Date: Wed, 05 Jan 2005 09:18:00 -0000 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200501051018.16261.ebotcazou@libertysurf.fr> Content-Type: Multipart/Mixed; boundary="Boundary-00=_eE72BANQz2SxV9d" X-SW-Source: 2005-01/txt/msg00037.txt.bz2 --Boundary-00=_eE72BANQz2SxV9d Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 552 Hi, HOSTING_CRT0 is wrong, it should reference /usr/ccs/lib/sparcv9/values-Xa.o instead of /usr/ccs/lib/values-Xa.o. Tested on sparc64-sun-solaris2.9 and sparc-sun-solaris2.8. It fixes FAIL: bootstrap FAIL: bootstrap with strip FAIL: bootstrap with --traditional-format FAIL: bootstrap with --no-keep-memory FAIL: bootstrap with --relax in the former testsuite. 2005-01-05 Eric Botcazou * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. (sparc64-sun-solaris2*): New host. -- Eric Botcazou --Boundary-00=_eE72BANQz2SxV9d Content-Type: text/x-diff; charset="us-ascii"; name="ld_configure_host.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ld_configure_host.diff" Content-length: 1736 Index: configure.host =================================================================== RCS file: /cvs/src/src/ld/configure.host,v retrieving revision 1.34.6.1 diff -u -r1.34.6.1 configure.host --- configure.host 11 Apr 2004 04:05:45 -0000 1.34.6.1 +++ configure.host 5 Jan 2005 09:04:19 -0000 @@ -214,11 +214,16 @@ HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`egrep.*\"\\\`,/lib/ld.so.1,"` ;; -sparc*-*-solaris2*) +sparc-*-solaris2*) HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else ${CC} -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else ${CC} -print-file-name=crti.o; fi` /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`' HOSTING_LIBS="$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`' ;; +sparc64-*-solaris2* | sparcv9-*-solaris2*) + HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else ${CC} -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else ${CC} -print-file-name=crti.o; fi` /usr/ccs/lib/sparcv9/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} -print-file-name=crtbegin.o; fi`' + HOSTING_LIBS="$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`' + ;; + sparc-*-linux-gnu*) HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`egrep.*\"\\\`,/lib/ld-linux.so.2,"` ;; --Boundary-00=_eE72BANQz2SxV9d--