On Thu, Mar 3, 2011 at 7:51 PM, Alan Modra wrote: > On Wed, Mar 02, 2011 at 07:39:34PM -0800, H.J. Lu wrote: >> On Wed, Mar 2, 2011 at 4:45 PM, Dave Korn wrote: >> > On 02/03/2011 19:55, H.J. Lu wrote: >> >> Hi, >> >> >> >> This patch reports plugin symbol status for --verbose.  It can >> >> be used to debug LTO plugin symbol issues.  OK for trunk? >> > >> >  What sort of size inflation in the logfiles of a real-world link is this >> > likely to cause?  I would expect it to be a significant inflation, in which >> > case maybe a separate option would be more convenient than changing the >> > existing --verbose behaviour. >> > >> >> I can add a new switch. > > Or give --verbose an optional arg, so you get the sym dump with > --verbose=2. > Is this OK for trunk? Thanks. -- H.J --- .2011-03-04 H.J. Lu * ld.texinfo: Document --verbose[=NUMBER]. * lexsup.c (ld_options): Update --verbose. (parse_args): Set report_plugin_symbols. * plugin.c (report_plugin_symbols): New. (get_symbols): Report plugin symbols if report_plugin_symbols is TRUE. * plugin.h (report_plugin_symbols): New. ---