diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2003-06-11 16:19:18 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2003-06-11 16:19:18 +0000 |
commit | 655b71665a0c3c11e1060fb90a9c705f04cdd064 (patch) | |
tree | 65f746c2ae2fd37611235ad55f675136031fd7bd /gcc | |
parent | 4a09cbac250189dd6401e8af1e1c60f8d57f00e9 (diff) | |
download | gcc-655b71665a0c3c11e1060fb90a9c705f04cdd064.zip gcc-655b71665a0c3c11e1060fb90a9c705f04cdd064.tar.gz gcc-655b71665a0c3c11e1060fb90a9c705f04cdd064.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config.gcc | 4 | ||||
-rw-r--r-- | gcc/config/mips/dbxmdebug.h | 6 | ||||
-rw-r--r-- | gcc/config/mips/iris5gas.h | 5 |
4 files changed, 22 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82a5b8a..7713e35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2003-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * 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. + 2003-06-11 Ulrich Weigand <uweigand@de.ibm.com> * expr.c (can_move_by_pieces): align argument may be unused. diff --git a/gcc/config.gcc b/gcc/config.gcc index d2abc8b..7e8d554 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1385,7 +1385,7 @@ mips-sgi-irix6*o32) # SGI System V.4., IRIX 6, O32 ABI tm_file="mips/iris5.h mips/iris5gas.h mips/iris6-o32-gas.h" if test x$stabs = xyes then - tm_file="${tm_file} dbx.h" + tm_file="${tm_file} dbx.h mips/dbxmdebug.h" fi tmake_file=mips/t-iris5-gas else @@ -1430,7 +1430,7 @@ mips-sgi-irix5*) # SGI System V.4., IRIX 5 tm_file="mips/iris5.h mips/iris5gas.h" if test x$stabs = xyes then - tm_file="${tm_file} dbx.h" + tm_file="${tm_file} dbx.h mips/dbxmdebug.h" fi tmake_file=mips/t-iris5-gas else 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 |