X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=scripts%2Freference_discarded.pl;h=4ee6ab2135b30dc0678719f758868d7a2a220e62;hb=ddef9bb367b19383df627e388cb4c01c86ddba6c;hp=c2d54148a91f403eb74b8b81f53a117d7100ef70;hpb=2fc2991175bf77395e6b15fe6b2304d3bf72da40;p=powerpc.git diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl index c2d54148a9..4ee6ab2135 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$/ &&