Use stdout when printing object file names for -t option.

gold/
	PR gold/27615
	* errors.cc (Errors::trace): New method.
	(gold_trace): New function.
	* errors.h (Errors::trace): New method.
	* gold.h (gold_trace): New function.
	* object.cc (Input_objects::add_object): Use gold_trace to print
	object file names.
This commit is contained in:
Cary Coutant
2021-03-19 18:41:12 -07:00
parent b218a83935
commit 35891b4775
5 changed files with 39 additions and 1 deletions

View File

@@ -68,6 +68,10 @@ class Errors
void
info(const char* format, va_list);
// Print a trace message and continue.
void
trace(const char* format, va_list);
// Report an error at a reloc location.
template<int size, bool big_endian>
void