aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/parameters.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc
index f240c1d..9c57ef3 100644
--- a/gold/parameters.cc
+++ b/gold/parameters.cc
@@ -74,7 +74,7 @@ const Target&
Parameters::default_target() const
{
gold_assert(this->options_valid());
- if (this->options().oformat() != NULL)
+ if (this->options().user_set_oformat())
{
const Target* target
= select_target_by_name(this->options().oformat());