summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-07-07 15:43:04 +0000
committerNick Clifton <nickc@redhat.com>2001-07-07 15:43:04 +0000
commitd1689ec2b32bfbe46a4d51537389ff1333184da1 (patch)
tree720dc5132921b37881e4fc85b23cb6580a967537
parent6066bb05b0c94686f1a1f8e014b694529643678e (diff)
downloadbinutils-redhat-d1689ec2b32bfbe46a4d51537389ff1333184da1.tar.gz
Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/ecoff.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7af747b0de..9944e1d590 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
+ DEBUG_UNSPECIFIED.
+
2001-07-06 John Healy <jhealy@redhat.com>
* cgen.c (gas_cgen_save_fixups): Modified to allow more than one
diff --git a/gas/ecoff.c b/gas/ecoff.c
index 57ddddc93b..cc94bf69ac 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