[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.10-11-g1ca9aa1



The following commit has been merged in the master branch:
commit 1ca9aa11cc90c587548f5c7c42469e41f99cb6a6
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Jul 11 10:33:59 2012 +0200

    coll/objdump-info-helper: Ignore more unneeded readelf output
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

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


Reply to: