aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2005-09-03 16:57:15 -0400
committerSam Ravnborg <sam@mars.ravnborg.org>2005-09-10 09:09:02 -0400
commitcaba0233bc85ec311159a35f138d957d05cf2fe8 (patch)
treefc96f12dc691f10f0969b12ab172d71e94e03e97 /scripts
parentcd05e6bdc6001ac6e8ab13720693b7e1302d9848 (diff)
[PATCH] kbuild: ignore all debugging info sections in scripts/reference_discarded.pl
GCC 4 emits more DWARF debugging information than before and there is now a .debug_loc section as well. This causes "make buildcheck" to fail. Rather than just add that one to the special case list, I used a regexp to ignore any .debug_ANYTHING sections in case more show up in the future. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/reference_discarded.pl7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl
index f04f62736851..c2d54148a91f 100644
--- a/scripts/reference_discarded.pl
+++ b/scripts/reference_discarded.pl
@@ -91,12 +91,7 @@ foreach $object (keys(%object)) {
91 $from !~ /\.exit\.data$/ && 91 $from !~ /\.exit\.data$/ &&
92 $from !~ /\.altinstructions$/ && 92 $from !~ /\.altinstructions$/ &&
93 $from !~ /\.pdr$/ && 93 $from !~ /\.pdr$/ &&
94 $from !~ /\.debug_info$/ && 94 $from !~ /\.debug_.*$/ &&
95 $from !~ /\.debug_aranges$/ &&
96 $from !~ /\.debug_ranges$/ &&
97 $from !~ /\.debug_line$/ &&
98 $from !~ /\.debug_frame$/ &&
99 $from !~ /\.debug_loc$/ &&
100 $from !~ /\.exitcall\.exit$/ && 95 $from !~ /\.exitcall\.exit$/ &&
101 $from !~ /\.eh_frame$/ && 96 $from !~ /\.eh_frame$/ &&
102 $from !~ /\.stab$/)) { 97 $from !~ /\.stab$/)) {