aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>1998-11-11 18:50:40 +0000
committerDJ Delorie <dj@redhat.com>1998-11-11 18:50:40 +0000
commita18b9a3df3f87d9e4e9eb1fbf58f3effa248cd48 (patch)
treefd6536dbe39e6faab79d6579dd6e50cf7c7e3679 /ld/pe-dll.c
parentb67f7834e279b0bafe95fa8ef70e754940ca575f (diff)
downloadgdb-a18b9a3df3f87d9e4e9eb1fbf58f3effa248cd48.zip
gdb-a18b9a3df3f87d9e4e9eb1fbf58f3effa248cd48.tar.gz
gdb-a18b9a3df3f87d9e4e9eb1fbf58f3effa248cd48.tar.bz2
* pe-dll.c (fill_edata): don't strip underscores
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 25ea4e3..aaf1cb1 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -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++;