2002-06-08 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Sat, 8 Jun 2002 16:04:35 +0000 (16:04 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 8 Jun 2002 16:04:35 +0000 (16:04 +0000)
        Based on patch from Matt Green:
        * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
        * config/tc-mips.c (s_mips_file): Renamed from s_file.
        (s_mips_loc): New function.
        (mips_nonecoff_pseudo_table): Call them.
        (append_insn): Call dwarf2_emit_insn.

gas/config/obj-elf.h

index 33c5f436a416ef157b42a6d3fde217cc1b469d9a..3a0858560c3dd4f707912c0542399407f5a1d3aa 100644 (file)
@@ -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 */