aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2002-11-11 17:42:36 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2002-11-11 17:42:36 +0000
commit75c2ea5b08c7df32f5f7332ff9781fe98bdb0414 (patch)
treefe9f5cb580309e3b93908718f3e9ffe7e5fc81ff /ld
parent591d46894bf0b9d3202f45ae0f0c4777ebf77e71 (diff)
downloadgdb-75c2ea5b08c7df32f5f7332ff9781fe98bdb0414.zip
gdb-75c2ea5b08c7df32f5f7332ff9781fe98bdb0414.tar.gz
gdb-75c2ea5b08c7df32f5f7332ff9781fe98bdb0414.tar.bz2
* pe-dll.c (autofilter_liblist): Generalize library names to catch more
creative library naming instances like, e.g., libstdc++-2.a.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/pe-dll.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e093697..2d1bf5f 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
+
+ * pe-dll.c (autofilter_liblist): Generalize library names to catch more
+ creative library naming instances like, e.g., libstdc++-2.a.
+
2002-11-06 Alexandre Oliva <aoliva@redhat.com>
* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index a85bf94..3825426 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -228,12 +228,12 @@ static autofilter_entry_type autofilter_symbollist[] =
/* Do not specify library suffix explicitly, to allow for dllized versions. */
static autofilter_entry_type autofilter_liblist[] =
{
- { "libgcc.", 7 },
- { "libstdc++.", 10 },
- { "libmingw32.", 11 },
- { "libg2c.", 7 },
- { "libsupc++.", 10 },
- { "libobjc.", 8 },
+ { "libgcc", 6 },
+ { "libstdc++", 9 },
+ { "libmingw32", 10 },
+ { "libg2c", 6 },
+ { "libsupc++", 9 },
+ { "libobjc", 7 },
{ NULL, 0 }
};