From 23b488ada2fb1b984f25b020292378dc59058c0c Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Sun, 11 Jul 2010 09:05:24 +0000 Subject: [PATCH] winnt.c (i386_pe_file_end): Quote symbol name in directive -export. 2010-07-11 Kai Tietz * config/i386/winnt.c (i386_pe_file_end): Quote symbol name in directive -export. From-SVN: r162055 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/winnt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 364118c3cc4e..f92b2a8d20fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-11 Kai Tietz + + * config/i386/winnt.c (i386_pe_file_end): Quote symbol name + in directive -export. + 2010-07-10 Anatoly Sokolov * reginfo.h (reg_classes_intersect_p): Change arguments type to diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index 549edd1f6e4f..60a8b79d64a3 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -723,7 +723,7 @@ i386_pe_file_end (void) drectve_section (); for (q = export_head; q != NULL; q = q->next) { - fprintf (asm_out_file, "\t.ascii \" -export:%s%s\"\n", + fprintf (asm_out_file, "\t.ascii \" -export:\\\"%s\\\"%s\"\n", default_strip_name_encoding (q->name), (q->is_data ? ",data" : "")); } -- 2.43.5