This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Add support for --print-symbol-counts with incremental linking and plugins
>> ? ? ? * 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.
>
> This is OK.
Committed, thanks.
-cary