From fc2720e42656ce3d6655a6b3a94da43ab531f95e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 13 Jul 2004 08:55:53 +0000 Subject: [PATCH] * pe-dll.c (auto_export): Filter on just the import prefix, "_imp_", not "_imp__". --- ld/ChangeLog | 5 +++++ ld/pe-dll.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 93695e0382..92275b574c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-07-13 Danny Smith + + * pe-dll.c (auto_export): Filter on just the import prefix, + "_imp_", not "_imp__". + 2004-07-09 Nick Clifton * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. 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++) -- 2.11.0