The following commit has been merged in the master branch:
commit 1ca9aa11cc90c587548f5c7c42469e41f99cb6a6
Author: Niels Thykier <[email protected]>
Date:   Wed Jul 11 10:33:59 2012 +0200

    coll/objdump-info-helper: Ignore more unneeded readelf output
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/collection/objdump-info-helper b/collection/objdump-info-helper
index 7485a45..6f022f0 100755
--- a/collection/objdump-info-helper
+++ b/collection/objdump-info-helper
@@ -135,6 +135,9 @@ while ( my $line = <$readelf> ) {
 
     } elsif ($line =~ m/^\s*\[(\d+)\]\s*(\S+)(?:\s|\Z)/
                  and $section eq 'SH') {
+        # We also match " [<addr>]: flags*, but don't need them
+        # - in this case $2 will be ':'.
+        next if $2 eq ':';
         $sections[$1] = $2;
         # We need sections as well (e.g. for incomplete stripping)
         print " $1 $2\n";

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to