aboutsummaryrefslogtreecommitdiff
path: root/gold/parameters.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-04 18:21:43 +0000
committerIan Lance Taylor <iant@google.com>2008-03-04 18:21:43 +0000
commit7cc619c3b1e037f50afd7c932d8c5409a6db5cb5 (patch)
tree10c46db6dcc8e2d41e93e851fb95ea06a816ed71 /gold/parameters.cc
parent95ece4283165eaa6beeb4a3497d12b8726e8bdc8 (diff)
downloadgdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.zip
gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.tar.gz
gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.tar.bz2
From Craig Silverstein: rename some option functions in preparation
for reworking option handling.
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r--gold/parameters.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc
index db775ed..fdd5fd7 100644
--- a/gold/parameters.cc
+++ b/gold/parameters.cc
@@ -72,15 +72,15 @@ const Target&
Parameters::default_target() const
{
gold_assert(this->options_valid());
- if (this->options().oformat_string() != NULL)
+ if (this->options().oformat() != NULL)
{
const Target* target
- = select_target_by_name(this->options().oformat_string());
+ = select_target_by_name(this->options().oformat());
if (target != NULL)
return *target;
gold_error(_("unrecognized output format %s"),
- this->options().oformat_string());
+ this->options().oformat());
}
// The GOLD_DEFAULT_xx macros are defined by the configure script.