aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-18 23:20:53 +0000
committerIan Lance Taylor <iant@google.com>2007-10-18 23:20:53 +0000
commit51b08ebe94b5dbaa1feb97d2b062e0098e277ea9 (patch)
treebfc86ec4e97c4879532a4539c94442130e70022f /gold/symtab.h
parentaf4a8a833e23e7d7bba9fa3c3b5ff9325dc3df94 (diff)
downloadfsf-binutils-gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.zip
fsf-binutils-gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.gz
fsf-binutils-gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.bz2
Add support for -Bsymbolic.
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