aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.(none)>2005-07-14 16:14:42 -0400
committerSam Ravnborg <sam@mars.(none)>2005-07-14 16:14:42 -0400
commit53e88e03e63621a15ec7fbccaaaca1a0f1616ed4 (patch)
tree011c20fd2e8c9e78539911f310f7d64b28a61e21
parentcfca82f2179dd1aee84a5bf3b14710e4d7487aed (diff)
buildcheck: reduce DEBUG_INFO noise from reference* scripts
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>
-rw-r--r--scripts/reference_discarded.pl3
-rw-r--r--scripts/reference_init.pl1
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl
index d5cabb81bd1b..44b8722da0ea 100644
--- a/scripts/reference_discarded.pl
+++ b/scripts/reference_discarded.pl
@@ -82,6 +82,8 @@ foreach $object (keys(%object)) {
82 } 82 }
83 if (($line =~ /\.text\.exit$/ || 83 if (($line =~ /\.text\.exit$/ ||
84 $line =~ /\.exit\.text$/ || 84 $line =~ /\.exit\.text$/ ||
85 $line =~ /\.text\.init$/ ||
86 $line =~ /\.init\.text$/ ||
85 $line =~ /\.data\.exit$/ || 87 $line =~ /\.data\.exit$/ ||
86 $line =~ /\.exit\.data$/ || 88 $line =~ /\.exit\.data$/ ||
87 $line =~ /\.exitcall\.exit$/) && 89 $line =~ /\.exitcall\.exit$/) &&
@@ -96,6 +98,7 @@ foreach $object (keys(%object)) {
96 $from !~ /\.debug_ranges$/ && 98 $from !~ /\.debug_ranges$/ &&
97 $from !~ /\.debug_line$/ && 99 $from !~ /\.debug_line$/ &&
98 $from !~ /\.debug_frame$/ && 100 $from !~ /\.debug_frame$/ &&
101 $from !~ /\.debug_loc$/ &&
99 $from !~ /\.exitcall\.exit$/ && 102 $from !~ /\.exitcall\.exit$/ &&
100 $from !~ /\.eh_frame$/ && 103 $from !~ /\.eh_frame$/ &&
101 $from !~ /\.stab$/)) { 104 $from !~ /\.stab$/)) {
diff --git a/scripts/reference_init.pl b/scripts/reference_init.pl
index 9a2408453869..7f6960b175a2 100644
--- a/scripts/reference_init.pl
+++ b/scripts/reference_init.pl
@@ -98,6 +98,7 @@ foreach $object (sort(keys(%object))) {
98 $from !~ /\.pdr$/ && 98 $from !~ /\.pdr$/ &&
99 $from !~ /\__param$/ && 99 $from !~ /\__param$/ &&
100 $from !~ /\.altinstructions/ && 100 $from !~ /\.altinstructions/ &&
101 $from !~ /\.eh_frame/ &&
101 $from !~ /\.debug_/)) { 102 $from !~ /\.debug_/)) {
102 printf("Error: %s %s refers to %s\n", $object, $from, $line); 103 printf("Error: %s %s refers to %s\n", $object, $from, $line);
103 } 104 }