From 6e9573263d8cc1cea9461733bda7ea2de0f9e3f1 Mon Sep 17 00:00:00 2001 From: mmitchel Date: Thu, 23 May 2002 23:37:09 +0000 Subject: * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Properly output quoted strings. * dwarf2out.c (lookup_filename): Properly quote filename in .file directive in assembly file. * config/m68k/dpx2.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise. * config/m88k/m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Likewise. * config/pj/pj.h (ASM_FILE_START): Likewise. * config/rs6000/xcoff.h (ASM_FILE_START): Likewise. * config/avr/avr.c (asm_file_end): Likewise. * toplev.c (output_quoted_string): Handle possibly signed plain char. * toplev.h (output_clean_symbol_name): Declare * toplev.c (output_clean_symbol_name): Define. * config/alpha/alpha.c (unicosmk_output_module_name): Use it. * config/1750a/1750a.h (ASM_FILE_START): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53817 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/m68k/dpx2.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/config/m68k/dpx2.h') diff --git a/gcc/config/m68k/dpx2.h b/gcc/config/m68k/dpx2.h index 4e540b89ee0..0686b736065 100644 --- a/gcc/config/m68k/dpx2.h +++ b/gcc/config/m68k/dpx2.h @@ -113,7 +113,11 @@ Boston, MA 02111-1307, USA. */ #undef ASM_OUTPUT_SOURCE_FILENAME #define ASM_OUTPUT_SOURCE_FILENAME(FILE, NA) \ - do { fprintf ((FILE), "\t.file\t'%s'\n", (NA)); } while (0) + do { \ + fprintf (FILE, "\t.file\t"); \ + output_quoted_string (FILE, NA); \ + putc ('\n', FILE); \ + } while (0) /* * we don't seem to support any of: -- cgit v1.2.1