From: Daniel Jacobowitz Date: Sat, 8 Jun 2002 16:04:35 +0000 (+0000) Subject: 2002-06-08 Daniel Jacobowitz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7b05886f405ae9129cbd3ed364cc989aa40ea5e;p=binutils-gdb.git 2002-06-08 Daniel Jacobowitz 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. --- diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h index 33c5f436a41..3a0858560c3 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 */