* pe-dll.c (auto_export): Filter on just the import prefix, "_imp_", not

"_imp__".
This commit is contained in:
Nick Clifton 2004-07-13 08:55:53 +00:00
parent c21641d3cf
commit 13ed4151bc
2 changed files with 6 additions and 1 deletions

View 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.

View 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++)