diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-04 18:21:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-04 18:21:43 +0000 |
commit | 7cc619c3b1e037f50afd7c932d8c5409a6db5cb5 (patch) | |
tree | 10c46db6dcc8e2d41e93e851fb95ea06a816ed71 /gold/options.cc | |
parent | * MAINTAINERS: Update my email address. (diff) | |
download | binutils-gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.tar.gz binutils-gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.tar.bz2 binutils-gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.zip |
From Craig Silverstein: rename some option functions in preparation
for reworking option handling.
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/options.cc b/gold/options.cc index 41fa6783a01..88f3db30627 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -1136,7 +1136,7 @@ Command_line::normalize_options() if (this->options_.shared() && this->options_.relocatable()) gold_fatal(_("-shared and -r are incompatible")); - if (this->options_.oformat() != General_options::OBJECT_FORMAT_ELF + if (this->options_.oformat_enum() != General_options::OBJECT_FORMAT_ELF && (this->options_.shared() || this->options_.relocatable())) gold_fatal(_("binary output format not compatible with -shared or -r")); |