aboutsummaryrefslogtreecommitdiff
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
commit13ed4151bcd067533bf4ad7b7364f3cfc513b3e0 (patch)
tree8d11fae50df79d7b6b1482e4ad6124de408b3e7b /ld/pe-dll.c
parentc21641d3cf3a55a0e50e31f7b4fdcbc05be8523f (diff)
downloadgdb-13ed4151bcd067533bf4ad7b7364f3cfc513b3e0.zip
gdb-13ed4151bcd067533bf4ad7b7364f3cfc513b3e0.tar.gz
gdb-13ed4151bcd067533bf4ad7b7364f3cfc513b3e0.tar.bz2
* 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 43be40b..0d0ecda 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++)