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>
This commit is contained in:
Sam Ravnborg 2005-07-14 20:14:42 +00:00
parent cfca82f217
commit 53e88e03e6
2 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,8 @@ foreach $object (keys(%object)) {
} }
if (($line =~ /\.text\.exit$/ || if (($line =~ /\.text\.exit$/ ||
$line =~ /\.exit\.text$/ || $line =~ /\.exit\.text$/ ||
$line =~ /\.text\.init$/ ||
$line =~ /\.init\.text$/ ||
$line =~ /\.data\.exit$/ || $line =~ /\.data\.exit$/ ||
$line =~ /\.exit\.data$/ || $line =~ /\.exit\.data$/ ||
$line =~ /\.exitcall\.exit$/) && $line =~ /\.exitcall\.exit$/) &&
@ -96,6 +98,7 @@ foreach $object (keys(%object)) {
$from !~ /\.debug_ranges$/ && $from !~ /\.debug_ranges$/ &&
$from !~ /\.debug_line$/ && $from !~ /\.debug_line$/ &&
$from !~ /\.debug_frame$/ && $from !~ /\.debug_frame$/ &&
$from !~ /\.debug_loc$/ &&
$from !~ /\.exitcall\.exit$/ && $from !~ /\.exitcall\.exit$/ &&
$from !~ /\.eh_frame$/ && $from !~ /\.eh_frame$/ &&
$from !~ /\.stab$/)) { $from !~ /\.stab$/)) {

View File

@ -98,6 +98,7 @@ foreach $object (sort(keys(%object))) {
$from !~ /\.pdr$/ && $from !~ /\.pdr$/ &&
$from !~ /\__param$/ && $from !~ /\__param$/ &&
$from !~ /\.altinstructions/ && $from !~ /\.altinstructions/ &&
$from !~ /\.eh_frame/ &&
$from !~ /\.debug_/)) { $from !~ /\.debug_/)) {
printf("Error: %s %s refers to %s\n", $object, $from, $line); printf("Error: %s %s refers to %s\n", $object, $from, $line);
} }