This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] generalize list of "restricted" auto-export libraries on PE
- From: Christopher Faylor <cgf at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 11 Nov 2002 12:35:16 -0500
- Subject: [PATCH] generalize list of "restricted" auto-export libraries on PE
The patch below was submitted to the cygwin mailing list. I'm checking it
in. It fixes a problem with cygwin's "new" gcc-2 release which appends a
"-2" to the end of some system libraries.
cgf
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.
Index: pe-dll.c
===================================================================
RCS file: /cvs/uberbaum/ld/pe-dll.c,v
retrieving revision 1.45
diff -u -p -r1.45 pe-dll.c
--- pe-dll.c 6 Nov 2002 19:36:20 -0000 1.45
+++ pe-dll.c 11 Nov 2002 17:29:23 -0000
@@ -228,12 +228,12 @@ static autofilter_entry_type autofilter_
/* 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 }
};