summaryrefslogtreecommitdiff
path: root/autodeps
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-03-13 09:20:24 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-03-13 09:20:24 +0200
commit8e64df0e83029d08dfbd9a09ef76bed817d1ccf3 (patch)
tree207fc965a859d8bcddcae4d6328364957966272e /autodeps
parentf1f6510ceecc99fb4d3fc0c840e5b87232566174 (diff)
downloadlibrpm-tizen-8e64df0e83029d08dfbd9a09ef76bed817d1ccf3.tar.gz
librpm-tizen-8e64df0e83029d08dfbd9a09ef76bed817d1ccf3.tar.bz2
librpm-tizen-8e64df0e83029d08dfbd9a09ef76bed817d1ccf3.zip
Don't process objdump sections after "Version References"
autodeps/linux.req expects the 'Version References' section to be the very last section in objdump -p output and nothing else to follow it, but at least on Linux/ARM, you can get output a la: Version References: required from ld-linux.so.3: 0x0d696914 0x00 06 GLIBC_2.4 required from libacl.so.1: 0x05822450 0x00 05 ACL_1.0 required from libgcc_s.so.1: 0x0b792655 0x00 04 GCC_3.5 required from librt.so.1: 0x0d696914 0x00 03 GLIBC_2.4 required from libc.so.6: 0x0d696914 0x00 02 GLIBC_2.4 private flags = 4000002: [Version4 EABI] [has entry point] This causes the built package (if the external dep generator is used) to end up with bogus dependencies. Issue found by Rabeeh Khoury <rabeeh@marvell.com> Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'autodeps')
-rw-r--r--autodeps/linux.req1
1 files changed, 1 insertions, 0 deletions
diff --git a/autodeps/linux.req b/autodeps/linux.req
index 6efa9900f..c0a0cc9d5 100644
--- a/autodeps/linux.req
+++ b/autodeps/linux.req
@@ -113,6 +113,7 @@ for f in $liblist $exelist ; do
(START==2) && (LIBNAME!="") && ($4!="") && (($4~/^GLIBC_*/) || ($4~/^GCC_*/)) {
print LIBNAME "(" $4 ")'$lib64'";
}
+ /^[A-Za-z]/ { START=3; }
'
done | sort -u