X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=scripts%2Freference_discarded.pl;h=4ee6ab2135b30dc0678719f758868d7a2a220e62;hb=08857fa745ab6ce46601960d2774490e1cef2cff;hp=c2d54148a91f403eb74b8b81f53a117d7100ef70;hpb=5833f1420b96c4f9b193b7f2fcbc0003dc032fe8;p=linux-2.6-omap-h63xx.git diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl index c2d54148a91..4ee6ab2135b 100644 --- a/scripts/reference_discarded.pl +++ b/scripts/reference_discarded.pl @@ -71,6 +71,11 @@ foreach $object (keys(%object)) { # printf("ignoring %d conglomerate(s)\n", $ignore); # printf("Scanning objects\n"); + +# Keith Ownes commented: +# For our future {in}sanity, add a comment that this is the ppc .opd +# section, not the ia64 .opd section. +# ia64 .opd should not point to discarded sections. $errorcount = 0; foreach $object (keys(%object)) { my $from; @@ -88,6 +93,7 @@ foreach $object (keys(%object)) { ($from !~ /\.text\.exit$/ && $from !~ /\.exit\.text$/ && $from !~ /\.data\.exit$/ && + $from !~ /\.opd$/ && $from !~ /\.exit\.data$/ && $from !~ /\.altinstructions$/ && $from !~ /\.pdr$/ &&