summaryrefslogtreecommitdiffstats
path: root/binutils-2.22/gold/parameters.h
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.22/gold/parameters.h')
-rw-r--r--binutils-2.22/gold/parameters.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils-2.22/gold/parameters.h b/binutils-2.22/gold/parameters.h
index 09b0516..10de2ae 100644
--- a/binutils-2.22/gold/parameters.h
+++ b/binutils-2.22/gold/parameters.h
@@ -28,6 +28,7 @@ namespace gold
class General_options;
class Errors;
+class Timer;
class Target;
template<int size, bool big_endian>
class Sized_target;
@@ -57,6 +58,9 @@ class Parameters
set_errors(Errors* errors);
void
+ set_timer(Timer* timer);
+
+ void
set_options(const General_options* options);
void
@@ -70,6 +74,11 @@ class Parameters
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
@@ -177,6 +186,7 @@ class Parameters
friend class Set_parameters_target_once;
Errors* errors_;
+ Timer* timer_;
const General_options* options_;
Target* target_;
bool doing_static_link_valid_;
@@ -196,6 +206,9 @@ extern void
set_parameters_errors(Errors* errors);
extern void
+set_parameters_timer(Timer* timer);
+
+extern void
set_parameters_options(const General_options* options);
extern void