PATCH: Add gold support for -t and -y options

Cary Coutant ccoutant@google.com
Thu Apr 17 18:39:00 GMT 2008


This patch adds support for the -t (--trace) and -y (--trace_symbol) options.

	* errors.cc (Errors::info): New function.
	(gold_info): New function.
	* errors.h (Errors::info): New function.
	* gold.h (gold_info): New function.
	* object.cc (Input_objects::add_object): Print trace output.
	* options.cc (General_options::parse_trace_symbol): New function.
	* options.h (General_options::trace, General_options::trace_symbol):
	New options.
	(General_options::is_trace_symbol): New function.
	(General_options::trace_symbols_): New field.
	* symtab.cc (Symbol_table::add_from_object): Print trace output.

OK?

-cary
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: trace-patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20080417/5564b809/attachment.txt>


More information about the Binutils mailing list