From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2204 invoked by alias); 9 Apr 2010 16:31:39 -0000 Received: (qmail 2189 invoked by uid 22791); 9 Apr 2010 16:31:37 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from einhorn.in-berlin.de (HELO einhorn.in-berlin.de) (192.109.42.8) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Apr 2010 16:31:31 +0000 X-Envelope-From: doko@ubuntu.com Received: from [192.168.42.17] (dslb-088-074-018-255.pools.arcor-ip.net [88.74.18.255]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id o39GVOs4006816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 9 Apr 2010 18:31:25 +0200 Message-ID: <4BBF5654.8070501@ubuntu.com> Date: Fri, 09 Apr 2010 16:31:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre MIME-Version: 1.0 To: Nick Clifton CC: "H.J. Lu" , gcc-patches@gcc.gnu.org, binutils@sources.redhat.com, ian@airs.com Subject: Re: RFA/RFC: Enable both gold and ld in a single toolchain References: <6dc9ffc81003041139g16a219b3u6a7f6dc459ae7ab7@mail.gmail.com> <4B9614AF.1050109@redhat.com> <4B961E43.9060707@ubuntu.com> <20100311004003.22ad240d@gentoo.org> <4B990213.6000300@redhat.com> <6dc9ffc81003110653n37b7f84ek8c6b8b82eef3e8bb@mail.gmail.com> <4B9FBF01.4060002@redhat.com> <20100331153100.GB7980@caradoc.them.org> <4BBEE955.9000703@redhat.com> In-Reply-To: <4BBEE955.9000703@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg00449.txt.bz2 On 09.04.2010 10:46, Nick Clifton wrote: > Hi Guys, > > Now that the GCC mainline sources are back in stage 1, and I am back > from vacation, here is another revised version of the gold-and-ld patch > for consideration, and I hope, approval. > > This version fixes collect2.c so that it will build even if the > DEFAULT_LINKER environment variable is defined. It also changes the name > of the installed version of the gold linker to be ld.gold in order to > use a consistent naming scheme. looks fine to me. checked with a gcc build on the 4.5 branch. If this is checked in on the trunk, I would like to ask to apply it to the branch as well. Selection of the linker currenly is only possible with the -B option and some locally created symlinks in directories not on PATH. The -B is installation dependent, your patch does remove this dependency. Even one of our release managers mentioed that he would use a specfile patch/hack to be able to select another linker ;) Matthias