winnt.c (i386_pe_file_end): Strip only USER_LABEL_PREFIX when writing export name.

* config/i386/winnt.c (i386_pe_file_end): Strip only
	USER_LABEL_PREFIX when writing export name.

From-SVN: r124149
This commit is contained in:
Danny Smith 2007-04-25 10:06:28 +00:00 committed by Danny Smith
parent dd42abcc7e
commit 4b07e9f774
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-04-25 Danny Smith <dannysmith.users.sourceforge.net>
PR target/31680
* config/i386/winnt.c (i386_pe_file_end): Strip only
USER_LABEL_PREFIX when writing export name.
2007-04-25 Richard Sandiford <richard@codesourcery.com>
* config.gcc (sh-wrs-vxworks): Don't include dbxelf.h. Include

View File

@ -603,7 +603,7 @@ i386_pe_file_end (void)
for (q = export_head; q != NULL; q = q->next)
{
fprintf (asm_out_file, "\t.ascii \" -export:%s%s\"\n",
targetm.strip_name_encoding (q->name),
default_strip_name_encoding (q->name),
(q->is_data ? ",data" : ""));
}
}