aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/obj-elf.h')
-rw-r--r--gas/config/obj-elf.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index 3a08585..2eb0af5 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -48,11 +48,8 @@ extern int alpha_flag_mdebug;
/* For now, always set ECOFF_DEBUGGING for a MIPS target. */
#ifdef TC_MIPS
-#ifdef MIPS_STABS_ELF
-#define ECOFF_DEBUGGING 0
-#else
-#define ECOFF_DEBUGGING (debug_type == DEBUG_ECOFF)
-#endif /* MIPS_STABS_ELF */
+#define ECOFF_DEBUGGING mips_flag_mdebug
+extern int mips_flag_mdebug;
#endif /* TC_MIPS */
#ifdef OBJ_MAYBE_ECOFF