From 7dfac99ff1ebec56f81c60747e2ac9b0f86fa588 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 6 Mar 2008 00:17:43 +0000 Subject: [PATCH] Don't use the user-specified output format unless the user actually specified one. --- gold/parameters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gold/parameters.cc b/gold/parameters.cc index f240c1d990c..9c57ef322e1 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()); -- 2.30.2