From: Ian Lance Taylor Date: Thu, 6 Mar 2008 00:17:43 +0000 (+0000) Subject: Don't use the user-specified output format unless the user actually X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7dfac99ff1ebec56f81c60747e2ac9b0f86fa588;p=binutils-gdb.git Don't use the user-specified output format unless the user actually specified one. --- 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());