* gold/incremental.cc (Sized_relobj_incr::Sized_relobj_incr):
authorCary Coutant <ccoutant@google.com>
Mon, 10 Oct 2011 17:38:07 +0000 (17:38 +0000)
committerCary Coutant <ccoutant@google.com>
Mon, 10 Oct 2011 17:38:07 +0000 (17:38 +0000)
commit53bbcc1bb8246868a785a77201a3245b07af87e0
tree36e725a68ab2ae377b1c391a90fd58100ef0954f
parent397b129b2a1e3d186e62ff37ecdbc329bf6bbc53
* gold/incremental.cc (Sized_relobj_incr::Sized_relobj_incr):
Initialize defined_count_.
(Sized_relobj_incr::do_add_symbols): Count defined symbols.
(Sized_relobj_incr::do_get_global_symbol_counts): Rewrite.
(Sized_incr_dynobj::Sized_incr_dynobj): Initialize defined_count_.
(Sized_incr_dynobj::do_add_symbols): Count defined symbols.
(Sized_incr_dynobj::do_get_global_symbol_counts): Rewrite.
* gold/incremental.h (Sized_relobj_incr::defined_count_): New data
member.
(Sized_incr_dynobj::defined_count_): New data member.
* gold/plugin.cc (Sized_pluginobj::do_get_global_symbol_counts):
Return zeroes instead of internal error.
gold/ChangeLog
gold/incremental.cc
gold/incremental.h
gold/plugin.cc