[PATCH 0 of 3] Add support for using gold instead of ld

Arnaud Lacombe lacombar@gmail.com
Mon Dec 27 23:58:00 GMT 2010


Hi,

On Mon, Dec 27, 2010 at 6:33 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Hello All!
>
> This patchset is a tentative at using gold in place of ld with recent
> binutils (2.21 at least).
>
> Currently, glibc can not be built with gold (fails on the ld version
> check), and uClibc builds fine with a minor edit in the linker flags
> (which is already applied upstream).
>
> Basically, the patch series adds support for building gold or ld or
> both, and in the latter case, set which is the default. It also adds
> a (shell) wrapper that can override the default at runtime.
>
> Shortlog:
>  binutils/binutils: add BINUTILS_2_21_or_later blind option
>  binutils/binutils: add option to enable gold
>  binutils/binutils: add wrapper to gold and ld
>
> Diffstat:
>  b/config/binutils/binutils.in           |   88    88     0     0 ++++++++++++++++++++++++++++++++
>  b/scripts/build/binutils/binutils-ld.in |   11    11     0     0 ++++
>  b/scripts/build/binutils/binutils.sh    |   37    36     1     0 +++++++++++++
>  3 files changed, 135 insertions(+), 1 deletion(-)
>
That is incomplete You also need to pass --enable-gold to gcc's
configure to build the linker plugin.

 - Arnaud

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list