aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-06-08 16:04:35 +0000
committerDaniel Jacobowitz <drow@false.org>2002-06-08 16:04:35 +0000
commitb7b05886f405ae9129cbd3ed364cc989aa40ea5e (patch)
treef724aebd9aa2d731d8d6df2b36984a8dda52be41 /gas/config/obj-elf.h
parent21e152480c079a68a0c6981693be535ddbf21858 (diff)
downloadgdb-b7b05886f405ae9129cbd3ed364cc989aa40ea5e.zip
gdb-b7b05886f405ae9129cbd3ed364cc989aa40ea5e.tar.gz
gdb-b7b05886f405ae9129cbd3ed364cc989aa40ea5e.tar.bz2
2002-06-08 Daniel Jacobowitz <drow@mvista.com>
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.
Diffstat (limited to 'gas/config/obj-elf.h')
-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 */