From: Roland McGrath Date: Sat, 3 Sep 2005 20:57:15 +0000 (-0700) Subject: [PATCH] kbuild: ignore all debugging info sections in scripts/reference_discarded.pl X-Git-Tag: accepted/tizen/common/20141203.182822~43118^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=caba0233bc85ec311159a35f138d957d05cf2fe8;p=platform%2Fkernel%2Flinux-arm64.git [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 Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg --- diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl index f04f627..c2d5414 100644 --- a/scripts/reference_discarded.pl +++ b/scripts/reference_discarded.pl @@ -91,12 +91,7 @@ foreach $object (keys(%object)) { $from !~ /\.exit\.data$/ && $from !~ /\.altinstructions$/ && $from !~ /\.pdr$/ && - $from !~ /\.debug_info$/ && - $from !~ /\.debug_aranges$/ && - $from !~ /\.debug_ranges$/ && - $from !~ /\.debug_line$/ && - $from !~ /\.debug_frame$/ && - $from !~ /\.debug_loc$/ && + $from !~ /\.debug_.*$/ && $from !~ /\.exitcall\.exit$/ && $from !~ /\.eh_frame$/ && $from !~ /\.stab$/)) {