diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-10 07:19:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-10 07:19:35 +0000 |
commit | 69fc231f89b852dd0930c95aa275ff622733e715 (patch) | |
tree | fd22a21dd09d4782aea37e75eec9d5ade559d6d2 /lddtree.sh | |
parent | skip freeing of memory at exit since the kernel takes care of that for us (diff) | |
download | pax-utils-69fc231f89b852dd0930c95aa275ff622733e715.tar.gz pax-utils-69fc231f89b852dd0930c95aa275ff622733e715.tar.bz2 pax-utils-69fc231f89b852dd0930c95aa275ff622733e715.zip |
lddtree: normalize linux osabi to sysv since they are compatible (with glibc) #442024
Diffstat (limited to 'lddtree.sh')
-rwxr-xr-x | lddtree.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Copyright 2007-2012 Gentoo Foundation # Copyright 2007-2012 Mike Frysinger <vapier@gentoo.org> # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-projects/pax-utils/lddtree.sh,v 1.13 2012/11/04 07:26:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-projects/pax-utils/lddtree.sh,v 1.14 2012/11/10 07:19:35 vapier Exp $ argv0=${0##*/} @@ -32,7 +32,10 @@ error() { } elf_specs() { - scanelf -BF '#F%a %M %D %I' "$1" + # With glibc, the NONE, SYSV, and LINUX OSABI's are compatible. + # NONE and SYSV are the same thing, so normalize LINUX to NONE. #442024 + scanelf -BF '#F%a %M %D %I' "$1" | \ + sed 's: LINUX$: NONE:' } lib_paths_fallback="${ROOT}lib* ${ROOT}usr/lib* ${ROOT}usr/local/lib*" |