This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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(-)

TODO:
- add a C wrapper, for systems which may lack a shell (eg. mingw)
- _maybe_ backport uClibc patch to make it build with gold

Comments welcome.

Regards,
Yann E. MORIN.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]