Commit caba0233 authored by Roland McGrath's avatar Roland McGrath Committed by Sam Ravnborg

[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: default avatarRoland McGrath <roland@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent cd05e6bd
...@@ -91,12 +91,7 @@ foreach $object (keys(%object)) { ...@@ -91,12 +91,7 @@ foreach $object (keys(%object)) {
$from !~ /\.exit\.data$/ && $from !~ /\.exit\.data$/ &&
$from !~ /\.altinstructions$/ && $from !~ /\.altinstructions$/ &&
$from !~ /\.pdr$/ && $from !~ /\.pdr$/ &&
$from !~ /\.debug_info$/ && $from !~ /\.debug_.*$/ &&
$from !~ /\.debug_aranges$/ &&
$from !~ /\.debug_ranges$/ &&
$from !~ /\.debug_line$/ &&
$from !~ /\.debug_frame$/ &&
$from !~ /\.debug_loc$/ &&
$from !~ /\.exitcall\.exit$/ && $from !~ /\.exitcall\.exit$/ &&
$from !~ /\.eh_frame$/ && $from !~ /\.eh_frame$/ &&
$from !~ /\.stab$/)) { $from !~ /\.stab$/)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment