aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/config/obj-elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index 33c5f43..3a08585 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -51,7 +51,7 @@ extern int alpha_flag_mdebug;
#ifdef MIPS_STABS_ELF
#define ECOFF_DEBUGGING 0
#else
-#define ECOFF_DEBUGGING 1
+#define ECOFF_DEBUGGING (debug_type == DEBUG_ECOFF)
#endif /* MIPS_STABS_ELF */
#endif /* TC_MIPS */