projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1729d08
)
use "objdump -p" rather then hacking it
author
ewt
<devnull@localhost>
Mon, 25 Nov 1996 20:17:57 +0000
(20:17 +0000)
committer
ewt
<devnull@localhost>
Mon, 25 Nov 1996 20:17:57 +0000
(20:17 +0000)
CVS patchset: 1202
CVS date: 1996/11/25 20:17:57
autodeps/linux.prov
patch
|
blob
|
history
diff --git
a/autodeps/linux.prov
b/autodeps/linux.prov
index
d82091b
..
d59231d
100644
(file)
--- a/
autodeps/linux.prov
+++ b/
autodeps/linux.prov
@@
-6,7
+6,7
@@
filelist=$(grep "\\.so" | grep -v "^/lib/ld.so" | xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1)
for f in $filelist; do
- soname=$(objdump -
-raw $f --section=.dynstr 2> /dev/null | tr '\0' '\n' | tail -1
)
+ soname=$(objdump -
p $f | awk '/SONAME/ {print $2}'
)
if [ "$soname" != "" ]; then
if [ "$soname" != "_end" ]; then