summaryrefslogtreecommitdiffstats
path: root/scripts/reference_discarded.pl
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.(none)>2005-07-14 22:14:42 +0200
committerSam Ravnborg <sam@mars.(none)>2005-07-14 22:14:42 +0200
commit53e88e03e63621a15ec7fbccaaaca1a0f1616ed4 (patch)
tree011c20fd2e8c9e78539911f310f7d64b28a61e21 /scripts/reference_discarded.pl
parentkbuild: Fix build as root then user (diff)
downloadlinux-53e88e03e63621a15ec7fbccaaaca1a0f1616ed4.tar.xz
linux-53e88e03e63621a15ec7fbccaaaca1a0f1616ed4.zip
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>
Diffstat (limited to 'scripts/reference_discarded.pl')
-rw-r--r--scripts/reference_discarded.pl3
1 files changed, 3 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)) {
}
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$/)) {