summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gold/resolve.cc
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-09-08 19:26:40 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-09-08 19:26:40 +0200
commit2b84c0ca027e029eae1e5f825696d62fa8c4e95f (patch)
tree08415b3d502063e686db71856e9983ed3f634a22 /binutils-2.25/gold/resolve.cc
parent33f0f8829308781a59b094a6ed8c6ad62539b11f (diff)
parent129dec3ed0e1fc07f75a4322014d770cfd642f4d (diff)
downloadtoolchain_binutils-2b84c0ca027e029eae1e5f825696d62fa8c4e95f.tar.gz
toolchain_binutils-2b84c0ca027e029eae1e5f825696d62fa8c4e95f.tar.bz2
toolchain_binutils-2b84c0ca027e029eae1e5f825696d62fa8c4e95f.zip
Merge branch 'master' of https://android.googlesource.com/toolchain/binutils
Diffstat (limited to 'binutils-2.25/gold/resolve.cc')
-rw-r--r--binutils-2.25/gold/resolve.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils-2.25/gold/resolve.cc b/binutils-2.25/gold/resolve.cc
index 54de87d9..b49c45c2 100644
--- a/binutils-2.25/gold/resolve.cc
+++ b/binutils-2.25/gold/resolve.cc
@@ -279,8 +279,10 @@ Symbol_table::resolve(Sized_symbol<size>* to,
&& (to->visibility() == elfcpp::STV_HIDDEN
|| to->visibility() == elfcpp::STV_INTERNAL))
{
- // it is good to be helpful, but the warning leads to build error
- // for some users, so disable it if not really wanted.
+ // The symbol is hidden, so a reference from a shared object
+ // cannot bind to it. We tried issuing a warning in this case,
+ // but that produces false positives when the symbol is
+ // actually resolved in a different shared object (PR 15574).
return;
}
else