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:
parent
cfca82f217
commit
53e88e03e6
2 changed files with 4 additions and 0 deletions
|
@ -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$/)) {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue