summaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-07-13 08:55:53 +0000
committerNick Clifton <nickc@redhat.com>2004-07-13 08:55:53 +0000
commitfc2720e42656ce3d6655a6b3a94da43ab531f95e (patch)
tree9a67cc2f748109a93c8329502c74ee90e61fcbf1 /ld/pe-dll.c
parent242e612b043dd4376fd638a995757c21f24bcce0 (diff)
downloadbinutils-redhat-fc2720e42656ce3d6655a6b3a94da43ab531f95e.tar.gz
* pe-dll.c (auto_export): Filter on just the import prefix, "_imp_", not
"_imp__".
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 43be40bb71..0d0ecda87d 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -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++)