summaryrefslogtreecommitdiff
path: root/scripts/xldd.in
AgeCommit message (Collapse)AuthorFilesLines
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 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 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" <yann.morin.1998@anciens.enib.fr> (transplanted from 78d2f99d403f7092203fc7a119ec19f9a2108afa)
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" <yann.morin.1998@anciens.enib.fr> (transplanted from e826624966a1672422711f779d98686e03a30b90)
2010-11-23scripts/xldd: fix typoesYann E. MORIN"1-2/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> (transplanted from dbecd99ecba51980ec9938b1313effeb45ef2ce7)
2010-07-22scripts: add a cross-ldd-likeYann E. MORIN"1-0/+214
Add a cross-ldd that mimicks a native ldd.