This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] exclude runtime-pseudo-reloc symbols from auto-export
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- To: Binutils <binutils at sources dot redhat dot com>, cygwin at cygwin dot com, Ralf Habacker<Ralf dot Habacker at freenet dot de>
- Date: Fri, 20 Dec 2002 23:23:36 -0500
- Subject: [PATCH] exclude runtime-pseudo-reloc symbols from auto-export
I don't think these symbols should be auto-exported by DLLs; they are
internal, and are added (if the platform supports it) to every DLL and
EXE. Since everybody has their own copy, there's no need for any DLL to
export them.
Ralf?
2002-12-20 Charles Wilson <cwilson@ece.gatech.edu>
* pe-dll.c (autofilter_symbollist): add do_pseudo_reloc
and _pei386_runtime_relocator to the exclude list.
--Chuck
Index: pe-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.50
diff -u -r1.50 pe-dll.c
--- pe-dll.c 16 Dec 2002 18:02:14 -0000 1.50
+++ pe-dll.c 21 Dec 2002 04:18:43 -0000
@@ -223,6 +223,8 @@
{ "_cygwin_crt0_common@8", 21 },
{ "_cygwin_noncygwin_dll_entry@12", 30 },
{ "impure_ptr", 10 },
+ { "_pei386_runtime_relocator", 25 },
+ { "do_pseudo_reloc", 15 },
{ NULL, 0 }
};