Add support for -Bsymbolic.

This commit is contained in:
Ian Lance Taylor
2007-10-18 23:20:53 +00:00
parent af4a8a833e
commit 51b08ebe94
5 changed files with 24 additions and 2 deletions

View File

@ -407,7 +407,8 @@ class Symbol
{
return (this->visibility_ != elfcpp::STV_INTERNAL
&& this->visibility_ != elfcpp::STV_HIDDEN
&& this->visibility_ != elfcpp::STV_PROTECTED);
&& this->visibility_ != elfcpp::STV_PROTECTED
&& !parameters->symbolic());
}
// Return whether there should be a warning for references to this