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

lintian: r281 - in trunk: checks debian



Author: djpig
Date: 2004-05-31 17:52:07 +0200 (Mon, 31 May 2004)
New Revision: 281

Modified:
   trunk/checks/binaries
   trunk/debian/changelog
Log:
Change check for binary-compiled-with-profiling-enabled on
hppa to look for _mcount instead of __gmon_start__ since the
latter can't be used as an indicator on that arch (Closes: #207063)


Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries	2004-05-31 15:50:09 UTC (rev 280)
+++ trunk/checks/binaries	2004-05-31 15:52:07 UTC (rev 281)
@@ -70,10 +70,16 @@
 	#    if ($sym =~ m/^(__register_frame_info)$/) {
 	#    	$DYNSYM{$file}{$sym} = $sec;
 	#    }
-	    if ($foo eq '.text' and $sec eq 'Base' and
-		$sym eq '__gmon_start__') {
-	      tag "binary-compiled-with-profiling-enabled", "$file";
-	    }
+	    if ($arch ne 'hppa') {
+		if ($foo eq '.text' and $sec eq 'Base' and
+		    $sym eq '__gmon_start__') {
+		    tag "binary-compiled-with-profiling-enabled", "$file";
+		}
+	    } else {
+		if ( ($sec =~ /^GLIBC_.*/) and ($sym eq '_mcount') ) {
+		    tag "binary-compiled-with-profiling-enabled", "$file";
+		}
+	    }    
 	}
     } else {
 	if (m/^\s*NEEDED\s*(\S+)/o) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-05-31 15:50:09 UTC (rev 280)
+++ trunk/debian/changelog	2004-05-31 15:52:07 UTC (rev 281)
@@ -10,6 +10,10 @@
       debian-changelog-file-uses-obsolete-national-charset ->
       debian-changelog-file-uses-obsolete-national-encoding
       (Closes: #248194)
+  * checks/binaries:
+    + [FL] Change check for binary-compiled-with-profiling-enabled on
+      hppa to look for _mcount instead of __gmon_start__ since the
+      latter can't be used as an indicator on that arch (Closes: #207063)
   * checks/changelog-files{,.desc}:
     + [HE] New check latest-debian-changelog-entry-without-new-date, comparing
       the dates of the last 2 changelog entries. (Closes: #111215)



Reply to: