class General_options;
class Errors;
+class Timer;
class Target;
template<int size, bool big_endian>
class Sized_target;
void
set_errors(Errors* errors);
+ void
+ set_timer(Timer* timer);
+
void
set_options(const General_options* options);
errors() const
{ return this->errors_; }
+ // Return the timer object.
+ Timer*
+ timer() const
+ { return this->timer_; }
+
// Whether the options are valid. This should not normally be
// called, but it is needed by gold_exit.
bool
friend class Set_parameters_target_once;
Errors* errors_;
+ Timer* timer_;
const General_options* options_;
Target* target_;
bool doing_static_link_valid_;
extern void
set_parameters_errors(Errors* errors);
+extern void
+set_parameters_timer(Timer* timer);
+
extern void
set_parameters_options(const General_options* options);