first_time = FALSE;
SET_FILE_NUMBER ();
current_function_file = name;
- fprintf (stream, "\t.file\t%d \"%s\"\n", num_source_filenames, name);
+ fprintf (stream, "\t.file\t%d ", num_source_filenames);
+ output_quoted_string (stream, name);
+ fprintf (stream, "\n");
if (!TARGET_GAS && write_symbols == DBX_DEBUG)
fprintf (stream, "\t#@stabs\n");
}
else if (!TARGET_GAS && write_symbols == DBX_DEBUG)
{
ASM_GENERATE_INTERNAL_LABEL (ltext_label_name, "Ltext", 0);
- fprintf (stream, "%s \"%s\",%d,0,0,%s\n", ASM_STABS_OP,
- name, N_SOL, <ext_label_name[1]);
+ fprintf (stream, "%s ", ASM_STABS_OP);
+ output_quoted_string (stream, name);
+ fprintf (stream, ",%d,0,0,%s\n", N_SOL, <ext_label_name[1]);
}
else if (name != current_function_file
warning ("MIPS ECOFF format does not allow changing filenames within functions with #line");
}
- fprintf (stream, "\t#.file\t%d \"%s\"\n", num_source_filenames, name);
+ fprintf (stream, "\t#.file\t%d ", num_source_filenames);
}
else
{
SET_FILE_NUMBER ();
current_function_file = name;
- fprintf (stream, "\t.file\t%d \"%s\"\n", num_source_filenames, name);
+ fprintf (stream, "\t.file\t%d ", num_source_filenames);
}
+ output_quoted_string (stream, name);
+ fprintf (stream, "\n");
}
}