diff options
author | Richard Stallman <rms@gnu.org> | 1993-10-20 20:06:25 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-10-20 20:06:25 +0000 |
commit | 2bacb292c156ce641ef687cd764c76dfb4c602b6 (patch) | |
tree | a9a83b6d8c69e86c4f563c77b1c068ec417df35a /gcc | |
parent | a35f176bc5f0bb738f5775d003051bb7227e18f1 (diff) | |
download | gcc-2bacb292c156ce641ef687cd764c76dfb4c602b6.zip gcc-2bacb292c156ce641ef687cd764c76dfb4c602b6.tar.gz gcc-2bacb292c156ce641ef687cd764c76dfb4c602b6.tar.bz2 |
(mips_output_filename): When emitting stabs, don't disable them if using gas.
(mips_output_lineno): Likewise.
From-SVN: r5830
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/mips/mips.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 735c6bf..4c994ed 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -3511,11 +3511,12 @@ mips_output_filename (stream, name) fprintf (stream, "\t.file\t%d ", num_source_filenames); output_quoted_string (stream, name); fprintf (stream, "\n"); + /* This tells mips-tfile that stabs will follow. */ if (!TARGET_GAS && write_symbols == DBX_DEBUG) fprintf (stream, "\t#@stabs\n"); } - else if (!TARGET_GAS && write_symbols == DBX_DEBUG) + else if (write_symbols == DBX_DEBUG) { ASM_GENERATE_INTERNAL_LABEL (ltext_label_name, "Ltext", 0); fprintf (stream, "%s ", ASM_STABS_OP); @@ -3560,7 +3561,7 @@ mips_output_lineno (stream, line) FILE *stream; int line; { - if (!TARGET_GAS && write_symbols == DBX_DEBUG) + if (write_symbols == DBX_DEBUG) { ++sym_lineno; fprintf (stream, "$LM%d:\n\t%s %d,0,%d,$LM%d\n", |