aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.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/gold.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/gold.cc')
-rw-r--r--gold/gold.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/gold.cc b/gold/gold.cc
index 2ac1a67..daa6596 100644
--- a/gold/gold.cc
+++ b/gold/gold.cc
@@ -187,7 +187,7 @@ queue_middle_tasks(const General_options& options,
gold_error(_("cannot mix -r with dynamic object %s"),
(*input_objects->dynobj_begin())->name().c_str());
if (!doing_static_link
- && options.oformat() != General_options::OBJECT_FORMAT_ELF)
+ && options.oformat_enum() != General_options::OBJECT_FORMAT_ELF)
gold_fatal(_("cannot use non-ELF output format with dynamic object %s"),
(*input_objects->dynobj_begin())->name().c_str());