2010-12-30cc/gcc: fix building of ecjx
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 30 Dec 2010 21:09:36 +0100] rev 2250
cc/gcc: fix building of ecjx

When building ecjx, the compiler for the build system must
be used, not for the compiler for the host system.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-30samples: update i686-nptl-linux-gnu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Thu, 30 Dec 2010 21:06:04 +0100] rev 2249
samples: update i686-nptl-linux-gnu

Notable changes:
- uses binutils 2.21, builds gold, but defaults to ld
- uses gcc 4.5.2, with GRAPHITE and LTO, builds lto-plugin

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-29cc/gcc: build lto-plugin if binutils' gold is built
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 17:58:35 +0100] rev 2248
cc/gcc: build lto-plugin if binutils' gold is built

To properly enable LTO with gold, gcc has to install a plugin that gold
uses to handle the LTO information.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-29binutils/binutils: add wrapper to gold and ld
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 18:19:40 +0100] rev 2247
binutils/binutils: add wrapper to gold and ld

When both gold and ld are installed, add a wrapper that calls
to either gold or ld.

In case the wrapper is installed, we also need to symlink ld.bfd
and ld.gold for the core_cc steps.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-02binutils/binutils: add support for threaded gold
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Jan 2011 13:52:16 +0100] rev 2246
binutils/binutils: add support for threaded gold

When configured with support for threads, gold can link in
parallel, possibly cooperating with a make jobserver.

Add an option enabling threads.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-02binutils/binutils: add support for plugins
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Jan 2011 13:56:05 +0100] rev 2245
binutils/binutils: add support for plugins

Add an option to enable plugins support in binutils.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-28binutils/binutils: add option to enable gold
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 28 Dec 2010 00:11:33 +0100] rev 2244
binutils/binutils: add option to enable gold

gold is a new, optimised, multi-threaded linker with support
for plugins.

Add support for gold starting with binutils 2.21. Although 2.20
also had gold, the configure flags have changed, and supporting
2.20 would be a mess in the code.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-28binutils/binutils: add BINUTILS_2_21_or_later blind option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 28 Dec 2010 19:07:21 +0100] rev 2243
binutils/binutils: add BINUTILS_2_21_or_later blind option

Add BINUTILS_2_21_or_later blind option. It will be used to add
conditional support for building 'gold' on versions that have it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2010-12-29complibs/libelf: build with -fPIC
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 29 Dec 2010 02:34:18 +0100] rev 2242
complibs/libelf: build with -fPIC

libelf is used by gcc to build the lto-plugin used
by binutils' gold to perform LTO.

This requires that files in libelf be compiled with
-fPIC to generate a proper .so.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

2011-01-03debug/gdb: fix for psim build failure due to -lz in gdb-7.2.
Horst Kronstorfer <horst.kronstorfer@aon.at> [Mon, 03 Jan 2011 19:07:34 +0100] rev 2241
debug/gdb: fix for psim build failure due to -lz in gdb-7.2.

Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: fix space-damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>