Use stdout when printing object file names for -t option.
authorCary Coutant <ccoutant@gmail.com>
Sat, 20 Mar 2021 01:41:12 +0000 (18:41 -0700)
committerCary Coutant <ccoutant@gmail.com>
Sat, 20 Mar 2021 01:41:12 +0000 (18:41 -0700)
commit35891b4775d860b6fad15765bbf85be2b8101419
tree35e314ccd363655ad4822265aa5bf4a169623a0e
parentb218a839358197c1b62200481dc14eb3c8a9a38f
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.
gold/ChangeLog
gold/errors.cc
gold/errors.h
gold/gold.h
gold/object.cc