This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Review of --enable-gold=both patch
- From: Matthias Klose <doko at ubuntu dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, Paolo Bonzini <bonzini at gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, Ian Lance Taylor <iant at google dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, binutils <binutils at sourceware dot org>
- Date: Fri, 29 Oct 2010 16:54:43 +0200
- Subject: Re: Review of --enable-gold=both patch
- References: <4C27E695.9070802@codesourcery.com> <4C286200.30402@gnu.org> <Pine.LNX.4.64.1006281009290.17565@digraph.polyomino.org.uk> <4C2886C7.4040408@gnu.org> <4C28CA2A.7060703@codesourcery.com> <4C28CE9C.9030809@gnu.org> <4C28D9F1.6030309@codesourcery.com> <4CC83135.4080603@ubuntu.com> <4CCA91ED.7010909@redhat.com>
On 29.10.2010 11:20, Nick Clifton wrote:
Hi Matthias,
OK. I suppose we could also have --with-default-linker=gold -- or
--enable :-) -- but I'm not worried about that.
Thanks again for your help with this.
the --enable-gold=both option is already in current binutils trunk,
which will soon be released as binutils-2.21. Should this be changed
before the binutils release, or should the binutils patch be kept as it
is? Any recommendations how to update the patch and/or current binutils?
We should really make the 2.21 release support --with-default-linker=
Would you care to submit a patch for this ?
to summarize:
- in binutils, --with-default-linker= should trigger which linker is
built, and should determine which linker the ld symlink points to.
- if both linkers are built, the non-default linker build has to be
enabled with either --enable-ld or --enable-gold.
- values (other than yes or no) passed to --enable-ld and --enable-gold
are ignored.
Is this the consensus?
Matthias