This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] generalize list of "restricted" auto-export libraries on PE


An additional change: add the java runtime library and the "extra" mingw library to the list of restricted auto-export libs. libgcj is an obvious analogue to libobjc/libg2c/etc, and libmingwex is a static mingw runtime-support library, just like libmingw32. In each case, their symbols should not be re-exported by DLLs.

We don't want this list to grow too big, but the following rule of thumb seems reasonable:
1) libraries provided by the gcc compiler suite
2) win32 (cygwin, mingw, pw32) "platform" libraries that are commonly available only as static libs. (We already refuse to re-export symbols imported from DLLs).

Right now, list #2 is pretty short: libmingw32 + libmingwex.

2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>

* pe-dll.c (autofilter_liblist): add libmingwex and libgcj
to the list of restricted auto-export libs.

Index: pe-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.46
diff -u -r1.46 pe-dll.c
--- pe-dll.c 11 Nov 2002 17:42:36 -0000 1.46
+++ pe-dll.c 11 Nov 2002 20:27:27 -0000
@@ -231,9 +232,11 @@
{ "libgcc", 6 },
{ "libstdc++", 9 },
{ "libmingw32", 10 },
+ { "libmingwex", 10 },
{ "libg2c", 6 },
{ "libsupc++", 9 },
{ "libobjc", 7 },
+ { "libgcj", 6 },
{ NULL, 0 }
};



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]