* pe-dll.c (auto_export): Filter on just the import prefix, "_imp_", not
authorNick Clifton <nickc@redhat.com>
Tue, 13 Jul 2004 08:55:53 +0000 (08:55 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 13 Jul 2004 08:55:53 +0000 (08:55 +0000)
"_imp__".

ld/ChangeLog
ld/pe-dll.c

index 93695e03826b789450b13a8eb3c23cd2920fc37f..92275b574c60d3155f980ecb9365b0637de66ca7 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-13  Danny Smith  <dannysmith@usesr.sourceforge.net>
+
+       * pe-dll.c (auto_export):  Filter on just the import prefix,
+       "_imp_", not "_imp__".
+
 2004-07-09  Nick Clifton  <nickc@redhat.com>
 
        * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
index 43be40bb71eaae6bbf04ac784f558111768a2924..0d0ecda87db72da523a49660ab4401a40a123f4d 100644 (file)
@@ -398,7 +398,7 @@ auto_export (bfd *abfd, def_file *d, const char *n)
     libname = lbasename (abfd->my_archive->filename);
 
   /* We should not re-export imported stuff.  */
-  if (strncmp (n, "_imp__", 6) == 0)
+  if (strncmp (n, "_imp_", 5) == 0)
     return 0;
 
   for (i = 0; i < d->num_exports; i++)