From 655b71665a0c3c11e1060fb90a9c705f04cdd064 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Wed, 11 Jun 2003 16:19:18 +0000 Subject: configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32. * configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32. * configure. Regenerate. gcc: * config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match DWARF 2 default. * config/mips/dbxmdebug.h: New file. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with gas and --with-stabs. From-SVN: r67780 --- gcc/config/mips/dbxmdebug.h | 6 ++++++ gcc/config/mips/iris5gas.h | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 gcc/config/mips/dbxmdebug.h (limited to 'gcc/config/mips') diff --git a/gcc/config/mips/dbxmdebug.h b/gcc/config/mips/dbxmdebug.h new file mode 100644 index 0000000..230e2ea --- /dev/null +++ b/gcc/config/mips/dbxmdebug.h @@ -0,0 +1,6 @@ +/* Definitions of target machine for GNU compiler, for MIPS running IRIX 5 + or IRIX 6 (O32 ABI) using the GNU assembler with stabs-in-mdebug. */ + +/* Override iris5gas.h version again to retain mips.h default. */ +#undef MDEBUG_ASM_SPEC +#define MDEBUG_ASM_SPEC "%{!gdwarf*:-mdebug} %{gdwarf*:-no-mdebug}" diff --git a/gcc/config/mips/iris5gas.h b/gcc/config/mips/iris5gas.h index c1ec6eb..a38108d 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 -- cgit v1.1