2011-07-22 Sriraman Tallam <tmsriram@google.com>
authorSriraman Tallam <tmsriram@google.com>
Fri, 22 Jul 2011 22:38:42 +0000 (22:38 +0000)
committerSriraman Tallam <tmsriram@google.com>
Fri, 22 Jul 2011 22:38:42 +0000 (22:38 +0000)
commit804eb4807b7103135911ff0af4f7688d9458e4e0
treeba7d562a55734c20a5cae3b32c141a6bdf251aeb
parentd474311490a5cf44059606c48c667a2e0f73732e
2011-07-22  Sriraman Tallam  <tmsriram@google.com>

* symtab.cc (Symbol_table::add_from_relobj): Mark symbol as referenced
only after checking if it cannot be forced local.
* symtab.h (is_externally_visible): Check if the symbol is not forced
local.
gold/ChangeLog
gold/symtab.cc
gold/symtab.h