diff options
author | Michael Brown <mcb30@etherboot.org> | 2005-04-23 14:54:30 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2005-04-23 14:54:30 +0000 |
commit | d94cb571434ab1339a7906893826f744327cb826 (patch) | |
tree | 6474fbbb4c437321a2ec9a1e4aff14b00273c67b /src/util | |
parent | 9dc7ebc152f36bcd6b3089adfa2f6deeaea16aff (diff) | |
download | ipxe-d94cb571434ab1339a7906893826f744327cb826.zip ipxe-d94cb571434ab1339a7906893826f744327cb826.tar.gz ipxe-d94cb571434ab1339a7906893826f744327cb826.tar.bz2 |
Fixed to properly catch multiply defined symbols.
Diffstat (limited to 'src/util')
-rwxr-xr-x | src/util/symcheck.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/symcheck.pl b/src/util/symcheck.pl index 0639886..5fb3c95 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 |