]> gcc.gnu.org Git - gcc.git/commitdiff
(mips_output_filename): When emitting stabs, don't disable them if using gas.
authorRichard Stallman <rms@gnu.org>
Wed, 20 Oct 1993 20:06:25 +0000 (20:06 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 20 Oct 1993 20:06:25 +0000 (20:06 +0000)
(mips_output_lineno): Likewise.

From-SVN: r5830

gcc/config/mips/mips.c

index 735c6bf789ebfac43391f91919395aadc852fe9f..4c994edad59fa610d56e1be768d0e1d220422ef4 100644 (file)
@@ -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",
This page took 0.069481 seconds and 5 git commands to generate.