summaryrefslogtreecommitdiff
path: root/gcc/config/i386/bsd.h
diff options
context:
space:
mode:
authoreggert <eggert@138bc75d-0d04-0410-961f-82ee72b054a4>1993-09-28 00:23:58 +0000
committereggert <eggert@138bc75d-0d04-0410-961f-82ee72b054a4>1993-09-28 00:23:58 +0000
commita5f6f9df096e71473441ca16478ff4c9f877d4fa (patch)
tree83a86d9e83d06424fd2fb415b739788a6e2b6f2d /gcc/config/i386/bsd.h
parent0b23040a48b2251b6e40e2ddf4199499b6ffabad (diff)
downloadgcc-a5f6f9df096e71473441ca16478ff4c9f877d4fa.tar.gz
(ASM_FILE_START): Quote special characters in file names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5497 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/bsd.h')
-rw-r--r--gcc/config/i386/bsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/i386/bsd.h b/gcc/config/i386/bsd.h
index 164290c5a5b..c0f8d9db59e 100644
--- a/gcc/config/i386/bsd.h
+++ b/gcc/config/i386/bsd.h
@@ -48,7 +48,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
??? I am skeptical of this -- RMS. */
#define ASM_FILE_START(FILE) \
- fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name);
+ do { fprintf (FILE, "\t.file\t"); \
+ output_quoted_string (FILE, dump_base_name); \
+ fprintf (FILE, "\n"); \
+ } while (0)
/* This was suggested, but it shouldn't be right for DBX output. -- RMS
#define ASM_OUTPUT_SOURCE_FILENAME(FILE, NAME) */