OSDN Git Service

2011-10-31 Sriraman Tallam <tmsriram@google.com>
authortmsriram <tmsriram>
Mon, 31 Oct 2011 21:36:54 +0000 (21:36 +0000)
committertmsriram <tmsriram>
Mon, 31 Oct 2011 21:36:54 +0000 (21:36 +0000)
commit615728fe24bb80ef5502a73182c91c9210cec909
tree011c102eb6ab6f5cb09fc5f9d8f362537788e0b7
parentd009e8b7652f9a92609150607ea9d319688596d4
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