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>

2011-01-02samples: update after libc versions renaming
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 02 Jan 2011 22:32:04 +0100] rev 2240
samples: update after libc versions renaming

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

2011-01-02libc/eglibc: normalize eglibc hidden version names
Bryan Hundven <bryanhundven@gmail.com> [Sun, 02 Jan 2011 22:33:04 +0100] rev 2239
libc/eglibc: normalize eglibc hidden version names

In the previous patches to glibc and uclibc, we standardized on hidden
version names:

LIBC_<LIBC NAME>_V_<VERSION>

This patch updates EGLIBC to be the same for consistency to:

LIBC_EGLIBC_V_<VERSION>

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>

2011-01-03libc/uClibc: normalize uclibc hidden version names
Bryan Hundven <bryanhundven@gmail.com> [Mon, 03 Jan 2011 01:15:30 +0100] rev 2238
libc/uClibc: normalize uclibc hidden version names

Hidden version names for uClibc conflicted:

LIBC_UCLIBC_V_0_9_30_2
LIBC_V_0_9_30_1

name them constantly as:
LIBC_UCLIBC_V_<version>

Also update the build script where we use snapshots by version or snapshots by date.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>