This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gold patch] Add support for --print-symbol-counts with incremental linking and plugins


Cary Coutant <ccoutant@google.com> writes:

> 2011-10-06  Cary Coutant  <ccoutant@google.com>
>
> 	* 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.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]