* pe-dll.c (fill_edata): don't strip underscores

This commit is contained in:
DJ Delorie 1998-11-11 18:50:40 +00:00
parent b67f7834e2
commit a18b9a3df3
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Nov 11 13:44:54 1998 DJ Delorie <dj@cygnus.com>
* pe-dll.c (fill_edata): don't strip underscores
Tue Nov 10 21:28:19 1998 DJ Delorie <dj@cygnus.com>
* ld.texinfo: added i386pe option summary

View file

@ -565,7 +565,7 @@ fill_edata (abfd, info)
{
char *ename = pe_def_file->exports[s].name;
bfd_put_32 (abfd, ERVA (enamestr), (void *) enameptrs);
strcpy (enamestr, ename[0] == '_' ? ename + 1 : ename);
strcpy (enamestr, ename);
enamestr += strlen (enamestr) + 1;
bfd_put_16 (abfd, i, (void *) eordinals);
enameptrs++;