summaryrefslogtreecommitdiff
path: root/gold/parameters.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-28 19:39:40 +0000
committerIan Lance Taylor <iant@google.com>2007-11-28 19:39:40 +0000
commite5e0bbb8802498cac58880f0aed002957ee0ecd9 (patch)
tree4478dcd19e0e6ed7724dd4743e9a9addb1bfb39c /gold/parameters.h
parent5c998e5946e7dea0e8fd351a270a661a7a169c2c (diff)
downloadbinutils-redhat-e5e0bbb8802498cac58880f0aed002957ee0ecd9.tar.gz
Don't try to delete the output file if we don't know its name yet.
Diffstat (limited to 'gold/parameters.h')
-rw-r--r--gold/parameters.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h
index 4e135c61e2..4b764e3214 100644
--- a/gold/parameters.h
+++ b/gold/parameters.h
@@ -47,6 +47,12 @@ class Parameters
errors() const
{ return this->errors_; }
+ // Whether the options are valid. This should not normally be
+ // called, but it is needed by gold_exit.
+ bool
+ options_valid() const
+ { return this->options_valid_; }
+
// Whether to use threads.
bool
threads() const