tree 011c20fd2e8c9e78539911f310f7d64b28a61e21
parent cfca82f2179dd1aee84a5bf3b14710e4d7487aed
author Sam Ravnborg <[EMAIL PROTECTED](none)> Thu, 14 Jul 2005 20:14:42 +0000
committer Sam Ravnborg <[EMAIL PROTECTED](none)> Thu, 14 Jul 2005 20:14:42 +0000

buildcheck: reduce DEBUG_INFO noise from reference* scripts

From: Randy Dunlap <[EMAIL PROTECTED]>

Reduce noise in 'make buildcheck' that is caused by CONFIG_DEBUG_INFO=y.

Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>

 scripts/reference_discarded.pl |    3 +++
 scripts/reference_init.pl      |    1 +
 2 files changed, 4 insertions(+)

diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl
--- a/scripts/reference_discarded.pl
+++ b/scripts/reference_discarded.pl
@@ -82,6 +82,8 @@ foreach $object (keys(%object)) {
                }
                if (($line =~ /\.text\.exit$/ ||
                     $line =~ /\.exit\.text$/ ||
+                    $line =~ /\.text\.init$/ ||
+                    $line =~ /\.init\.text$/ ||
                     $line =~ /\.data\.exit$/ ||
                     $line =~ /\.exit\.data$/ ||
                     $line =~ /\.exitcall\.exit$/) &&
@@ -96,6 +98,7 @@ foreach $object (keys(%object)) {
                     $from !~ /\.debug_ranges$/ &&
                     $from !~ /\.debug_line$/ &&
                     $from !~ /\.debug_frame$/ &&
+                    $from !~ /\.debug_loc$/ &&
                     $from !~ /\.exitcall\.exit$/ &&
                     $from !~ /\.eh_frame$/ &&
                     $from !~ /\.stab$/)) {
diff --git a/scripts/reference_init.pl b/scripts/reference_init.pl
--- a/scripts/reference_init.pl
+++ b/scripts/reference_init.pl
@@ -98,6 +98,7 @@ foreach $object (sort(keys(%object))) {
                     $from !~ /\.pdr$/ &&
                     $from !~ /\__param$/ &&
                     $from !~ /\.altinstructions/ &&
+                    $from !~ /\.eh_frame/ &&
                     $from !~ /\.debug_/)) {
                        printf("Error: %s %s refers to %s\n", $object, $from, 
$line);
                }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to