aboutsummaryrefslogtreecommitdiff
path: root/gold/parameters.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/parameters.h')
-rw-r--r--gold/parameters.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h
index 2467295..67ce1e6 100644
--- a/gold/parameters.h
+++ b/gold/parameters.h
@@ -200,6 +200,11 @@ class Parameters
return this->doing_static_link_;
}
+ // Return whether the target field has been set.
+ bool
+ is_target_valid() const
+ { return this->is_target_valid_; }
+
// The target of the output file we are generating.
Target*
target() const