* pe-dll.c (fill_edata): don't strip underscores
authorDJ Delorie <dj@redhat.com>
Wed, 11 Nov 1998 18:50:40 +0000 (18:50 +0000)
committerDJ Delorie <dj@redhat.com>
Wed, 11 Nov 1998 18:50:40 +0000 (18:50 +0000)
ld/ChangeLog
ld/pe-dll.c

index 9976bc1dadf8f87f9b08e1568275c98a41535c6f..e9a3d5bd49302bfadd7c7a545c9d612e49dfaa58 100644 (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
index 25ea4e3de667dc20a536fb35d79872768f22ea4c..aaf1cb1e48eec41827a9dfc5ce2cab1986149fe8 100644 (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++;