aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-10 01:24:38 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-10 01:24:38 -0400
commit8115dc905a772153a1cebaf06ca4f0ba2e257caa (patch)
tree8190f3c532ca5ef1973bd1227d7892f11349874f /autogen.sh
parentelf.h: sync with glibc (diff)
downloadpax-utils-1.0.2.tar.gz
pax-utils-1.0.2.tar.bz2
pax-utils-1.0.2.zip
lddtree.py: dereference the interp symlink to handle desynced ABIs betterv1.0.2
On aarch64/s390x, the interp is always placed in /lib/ while the libs are normally placed in /lib64/. If the interp is a symlink (which it normally is here), then dereference it to locate the lib paths automatically. This also fixes up some bad lstrip logic in the /usr path expansion. We could update lddtree.sh with a similar fix, but it would take more work as it doesn't have the readlink helper to properly walk symlinks according to an alternative root. Plus, it already uses strings to try and extract the paths the ldso was compiled against, and that seems to work in these cases. Reported-by: Jakub Čajka <jcajka@redhat.com> URL: https://bugzilla.redhat.com/1162184
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions