path: root/scripts/
AgeCommit message (Collapse)AuthorFilesLines
2012-12-05scripts/xldd: use user's sed and grepYann E. MORIN"1-2/+2
xldd uses sed and grep as detected by ./configure. This works well if is used on the machine that build the toolchain. But if the user moves the toolchain to another machine where sed and grep are not in the same directory (eg. /bin/sed vs. /usr/bin/sed), then xldd will stop functionning. Fix that by using ${SED} and ${GREP} if they are set in the environment. Reported-by: Samuel Martin <> Signed-off-by: "Yann E. MORIN" <>
2012-11-07scripts/xldd: fix debug output layoutYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <>
2012-08-02scripts/xldd: fix pattern matching with new binutilsYann E. MORIN"1-3/+3
New binutils (circa 2.2x?) append 'program interpreter' to the (NEEDED) line for the dynamic linker, which breaks our current pattern. Signed-off-by: "Yann E. MORIN" <>
2012-03-06docs: update my e-mailYann E. MORIN"1-1/+1
Since has been dead for two months now, without any hope of recovery, update my e-mail to point to instead. Reported-by: "Bryan Hundven" <> Signed-off-by: "Yann E. MORIN" <>
2011-07-12scripts/xldd: fix missing arg to one printfYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <>
2011-07-10scripts/xldd: don't pass random format to printfYann E. MORIN"1-19/+19
Although proabaly inoffensive in our case, do not pass un-checked formats to printf. Signed-off-by: "Yann E. MORIN" <>
2011-07-10scripts/xldd: print end of current actionYann E. MORIN"1-1/+13
Signed-off-by: "Yann E. MORIN" <>
2011-07-10scripts/xldd: fix typoYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <>
2010-11-24scripts/xldd: try to handle RPATH tagsYann E. MORIN"1-3/+43
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" <>
2010-11-23scripts/xldd: better handle the origin of the libraryYann E. MORIN"1-36/+37
Signed-off-by: "Yann E. MORIN" <>
2010-11-24scripts/xldd: avoid reporting duplicatesYann E. MORIN"1-5/+18
Once a NEEDED dependency has been solved, do not report it if other dependencies depend on it. Signed-off-by: "Yann E. MORIN" <>
2010-11-23script/xldd: add debug tracesYann E. MORIN"1-1/+36
Add debug traces to help understand how xldd finds the libraries, what directories it scans, in which order... Signed-off-by: "Yann E. MORIN" <>
2010-11-23scripts/xldd: parse /etc/ E. MORIN"1-1/+26
Scan /etc/ for paths to search for libraries. Also follow include directives in there. Signed-off-by: "Yann E. MORIN" <>
2010-11-23scripts/xldd: better find sysroot with old gccYann E. MORIN"1-1/+9
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 is, (we expect it in ${sysroot}/usr/lib/ - trim /usr/lib/ from the result Signed-off-by: "Yann E. MORIN" <>
2010-11-23scripts/xldd: report appropriate load address for 32- or 64-bitYann E. MORIN"1-2/+3
For 32-bit target systems, report 4-byte (8-xdigit) wide adresses, and for 64-bit, report 8-byte (16-xdigit) wide adresses. Signed-off-by: "Yann E. MORIN" <>
2010-11-23scripts/xldd: stop at first matchYann E. MORIN"1-0/+2
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" <>
2010-11-23scripts/xldd: fix version stringYann E. MORIN"1-1/+2
The version string was hard-coded. Now, the version string follows the crosstool-NG version. Signed-off-by: "Yann E. MORIN" <>
2010-11-23scripts/xldd: fix typoesYann E. MORIN"1-2/+2
Signed-off-by: "Yann E. MORIN" <>
2010-07-22scripts: add a cross-ldd-likeYann E. MORIN"1-0/+214
Add a cross-ldd that mimicks a native ldd.