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 */