diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-07-20 00:03:22 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-07-20 00:03:22 -0400 |
commit | 26ee546756ce9e1bb84951bc5cfac3cdde87a2d1 (patch) | |
tree | 32aadcd8882dd067feafe35b9ac0e570b001ab72 /paxmacho.h | |
parent | scanelf: do not warn about invalid archive entries by default (diff) | |
download | pax-utils-26ee546756ce9e1bb84951bc5cfac3cdde87a2d1.tar.gz pax-utils-26ee546756ce9e1bb84951bc5cfac3cdde87a2d1.tar.bz2 pax-utils-26ee546756ce9e1bb84951bc5cfac3cdde87a2d1.zip |
lddtree: handle direct ldso linkage betterv1.0.5
If the ELF we're showing is linked directly against the ELF which is used
as the ELF interp (i.e. the ldso), make sure we don't list it twice.
We want to see it "twice" in the pretty form:
$ ./lddtree.py /bin/bash
/bin/bash (interpreter => /lib/ld-linux-armhf.so.3) <= here
libreadline.so.6 => /lib/libreadline.so.6
libncurses.so.5 => /lib/libncurses.so.5
libc.so.6 => /lib/libc.so.6
ld-linux-armhf.so.3 => /lib/ld-linux-armhf.so.3 <= here
But not in the list form (as that is used by scripts):
$ ./lddtree.py -l /bin/bash
/bin/bash
/lib/ld-linux-armhf.so.3 <= only here
/lib/libreadline.so.6
/lib/libncurses.so.5
/lib/libc.so.6
We also reconcile a few differences wrt interp display and the sh/py
implementations.
Reported-by: Tomasz Buchert <tomasz@debian.org>
Diffstat (limited to 'paxmacho.h')
0 files changed, 0 insertions, 0 deletions