Review of --enable-gold=both patch

Matthias Klose doko@ubuntu.com
Fri Oct 29 14:55:00 GMT 2010
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



More information about the Binutils mailing list