From: Michael Brown Date: Sat, 23 Apr 2005 14:54:30 +0000 (+0000) Subject: Fixed to properly catch multiply defined symbols. X-Git-Tag: Eb.5.4.import~141 X-Git-Url: http://git.etherboot.org/people/indolent/gpxe.git/.git/commitdiff_plain/d94cb571434ab1339a7906893826f744327cb826 Fixed to properly catch multiply defined symbols. --- diff --git a/src/util/symcheck.pl b/src/util/symcheck.pl index 06398865..5fb3c954 100755 --- a/src/util/symcheck.pl +++ b/src/util/symcheck.pl @@ -39,7 +39,7 @@ while ( ( my $symbol, my $info ) = each %$symbols ) { $problems->{$_}->{nonexistent}->{$symbol} = 1 foreach @requires; } elsif ( @provides > 1 ) { # Symbol defined in multiple objects - $problems->{$_}->{multiples}->{$symbol} = 1 foreach @requires; + $problems->{$_}->{multiples}->{$symbol} = 1 foreach @provides; } if ( @requires == 0 ) { # Symbol not required