From 2bacb292c156ce641ef687cd764c76dfb4c602b6 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 20 Oct 1993 20:06:25 +0000 Subject: [PATCH] (mips_output_filename): When emitting stabs, don't disable them if using gas. (mips_output_lineno): Likewise. From-SVN: r5830 --- gcc/config/mips/mips.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 735c6bf789e..4c994edad59 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", -- 2.30.2