aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/symtab.h')
-rw-r--r--gold/symtab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index d8e68a0..f7576b9 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -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