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]

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


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

Attachment: trace-patch.txt
Description: Text document


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