From: Nick Clifton Date: Sat, 7 Jul 2001 15:43:04 +0000 (+0000) Subject: Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae341099a8760118fac6f592cccfb568adc7013b;p=binutils-gdb.git Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 7af747b0de8..9944e1d590f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-07-07 Nick Clifton + + * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is + DEBUG_UNSPECIFIED. + 2001-07-06 John Healy * cgen.c (gas_cgen_save_fixups): Modified to allow more than one diff --git a/gas/ecoff.c b/gas/ecoff.c index 57ddddc93bf..cc94bf69ac3 100644 --- a/gas/ecoff.c +++ b/gas/ecoff.c @@ -2220,7 +2220,7 @@ add_file (file_name, indx, fake) if (! symbol_table_frozen && debug_type == DEBUG_UNSPECIFIED) debug_type = DEBUG_ECOFF; } - else + else if (debug_type == DEBUG_UNSPECIFIED) debug_type = DEBUG_NONE; #ifndef NO_LISTING