2010-10-18complibs/CLooG: only install the libraries
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 18 Oct 2010 16:51:01 +0200] rev 2199
complibs/CLooG: only install the libraries

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

2010-11-23scripts/xldd: better find sysroot with old gcc 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:28 +0100] rev 2198
scripts/xldd: better find sysroot with old gcc

Only starting with 4.4 does gcc have a -print-sysroot option.
For 4.3 or before, we have to play some tricks:
- ask gcc where libc.so is,
(we expect it in ${sysroot}/usr/lib/libc.so)
- trim /usr/lib/libc.so from the result

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from aa2305c5b2a57fbcda9a1b5bb5fb3a476ac49a13)

2010-11-23scripts/xldd: stop at first match 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:10 +0100] rev 2197
scripts/xldd: stop at first match

Break the library search loop as soon as a match is found.
Previously, if a library was present in different places,
then the last occurence would be returned, when the first
one would have been used at runtime.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 78d2f99d403f7092203fc7a119ec19f9a2108afa)

2010-11-23scripts/xldd: fix version string 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:34:56 +0100] rev 2196
scripts/xldd: fix version string

The version string was hard-coded.
Now, the version string follows the crosstool-NG version.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from e826624966a1672422711f779d98686e03a30b90)

2010-11-23scripts/xldd: fix typoes 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:34:50 +0100] rev 2195
scripts/xldd: fix typoes

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from dbecd99ecba51980ec9938b1313effeb45ef2ce7)

2010-11-23scripts/xldd: install only when shared libs enabled 1.9
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:24 +0100] rev 2194
scripts/xldd: install only when shared libs enabled

When the toolchain has no support for shared libraries, there is no
point in installing the cross-ldd helper.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 032ae3253a655d859f25a5c2bac1b72051f950b0)

2010-11-24scripts/xldd: try to handle RPATH tags
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 24 Nov 2010 21:04:55 +0100] rev 2193
scripts/xldd: try to handle RPATH tags

The RPATH tags allow a binary to tell the dynamic linker what
directories to search for libraries. The so-added paths are
searched into before any other paths.

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

2010-11-23scripts/xldd: better handle the origin of the library
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:36:01 +0100] rev 2192
scripts/xldd: better handle the origin of the library

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

2010-11-24scripts/xldd: avoid reporting duplicates
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 24 Nov 2010 21:01:46 +0100] rev 2191
scripts/xldd: avoid reporting duplicates

Once a NEEDED dependency has been solved, do not report it
if other dependencies depend on it.

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

2010-11-23script/xldd: add debug traces
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Tue, 23 Nov 2010 21:35:45 +0100] rev 2190
script/xldd: add debug traces

Add debug traces to help understand how xldd finds the
libraries, what directories it scans, in which order...

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