* symtab.h (Symbol::clear_version): New function.
authorAlan Modra <amodra@gmail.com>
Wed, 20 Mar 2013 00:25:28 +0000 (00:25 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 20 Mar 2013 00:25:28 +0000 (00:25 +0000)
commit32e2b61d0baceacdd0ae791adc12bf829499be96
tree4575643f5e20face4fa00293ef4251cef3abee57
parente5e21fa801ffcbe8204f8287bb968bcf4af6b43d
* symtab.h (Symbol::clear_version): New function.
* symtab.cc (Symbol_table::set_dynsym_indexes): Don't set object
is_needed by weak references.  Clear version for symbols defined
in as-needed objects that are not needed.
gold/ChangeLog
gold/symtab.cc
gold/symtab.h