2011-10-31 Sriraman Tallam <tmsriram@google.com>
authorSriraman Tallam <tmsriram@google.com>
Mon, 31 Oct 2011 21:36:54 +0000 (21:36 +0000)
committerSriraman Tallam <tmsriram@google.com>
Mon, 31 Oct 2011 21:36:54 +0000 (21:36 +0000)
commit7257cc92acfa8a53a200d9efa69913d3292c480f
tree59ac76e318310c04d83ca98b1f0a9a69b4994e80
parentb9fd179153353a88a34dd97a03ee698376212d29
2011-10-31 Sriraman Tallam  <tmsriram@google.com>

* symtab.h (Symbol_table::gc_mark_symbol_for_shlib): Rename to
gc_mark_symbol.
* symtab.cc (Symbol_table::gc_mark_symbol_for_shlib): Rename to
gc_mark_symbol.
Change to just keep the section associated with symbol.
(Symbol_table::add_from_relobj): Mark symbols as not garbage when
they are externally visible and --export-dynamic is turned on.
(Symbol_table::gc_mark_dyn_syms): Call gc_mark_symbol.
gold/ChangeLog
gold/symtab.cc
gold/symtab.h