buildcheck: reduce DEBUG_INFO noise from reference* scripts
authorSam Ravnborg <sam@mars.(none)>
Thu, 14 Jul 2005 20:14:42 +0000 (20:14 +0000)
committerSam Ravnborg <sam@mars.(none)>
Thu, 14 Jul 2005 20:14:42 +0000 (20:14 +0000)
From: Randy Dunlap <rddunlap@osdl.org>

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

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/reference_discarded.pl
scripts/reference_init.pl

index d5cabb81bd1be5617a3afdd1cabf6c7e04f6cfde..44b8722da0ea3ff925d94171721e0e466fc8ed1b 100644 (file)
@@ -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$/)) {
index 9a240845386958c574cabe4b6ca5b88a94a443ac..7f6960b175a2132f661839a807b8a9b9f3d91410 100644 (file)
@@ -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);
                }