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

Bug#819506: Keep TEXTREL objdump info



Package: lintian
Version: 2.5.42.1

The shared-libs-non-pic-i386 test fails on i386 because the objdump
helper no longer keeps the TEXTREL info from the dynamic section.
Attached patch fixes it.

--
Dan Nicholson  |  +1.206.437.0833  |  Endless
The i386 non-pic test needs to see if TEXTREL is in the dynamic section,
so keep that.

diff -Nru lintian-2.5.42.1/helpers/coll/objdump-info-helper lintian-2.5.42.1endless1/helpers/coll/objdump-info-helper
--- lintian-2.5.42.1/helpers/coll/objdump-info-helper	2016-02-08 12:50:20.000000000 -0800
+++ lintian-2.5.42.1endless1/helpers/coll/objdump-info-helper	2016-03-29 12:11:22.000000000 -0700
@@ -168,6 +168,8 @@
             $value =~ s/.*\[//;
             $value =~ s/\]\s*$//;
             $keep = 1;
+        } elsif ($type eq 'TEXTREL') {
+            $keep = 1;
         }
         $keep = 1
           if $value =~ s/^(?:Shared library|Library soname): \[(.*)\]/$1/;

Reply to: