aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/iris5gas.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/iris5gas.h')
-rw-r--r--gcc/config/mips/iris5gas.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/mips/iris5gas.h b/gcc/config/mips/iris5gas.h
index 7ba65656893..d25652554e0 100644
--- a/gcc/config/mips/iris5gas.h
+++ b/gcc/config/mips/iris5gas.h
@@ -11,6 +11,11 @@
#undef DWARF2_UNWIND_INFO
#define DWARF2_UNWIND_INFO 1
+/* Override mips.h version to match DWARF 2 default. */
+#undef MDEBUG_ASM_SPEC
+#define MDEBUG_ASM_SPEC "%{gstabs*|gcoff*:-mdebug} \
+%{!gstabs*:%{!gcoff*:-no-mdebug}}"
+
/* Override iris5.h version to invoke [cd]tors and register eh frame
information. */
#undef LINK_SPEC