]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] kbuild: ignore all debugging info sections in scripts/reference_discarded.pl
authorRoland McGrath <roland@redhat.com>
Sat, 3 Sep 2005 20:57:15 +0000 (13:57 -0700)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sat, 10 Sep 2005 13:09:02 +0000 (15:09 +0200)
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>
scripts/reference_discarded.pl

index f04f6273685161dc45c98e11f8d1065660ca0a0f..c2d54148a91f403eb74b8b81f53a117d7100ef70 100644 (file)
@@ -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$/)) {