This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Patch told/pe_dll.c: More excludes for --export-all
- To: binutils <binutils at sources dot redhat dot com>
- Subject: Patch told/pe_dll.c: More excludes for --export-all
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Date: Thu, 11 Oct 2001 18:38:41 +1000 (EST)
- Cc: Charles Wilson <cwilson at ece dot gatech dot edu>
Hello
Sorry for the no-subject post. This is a repost.
The --export-all symbols filter in pe-dll.c currently does not exclude the
startup code for mingw32 dlls. This leads to export of the dll version of
atexit (currently a dummy version to ensure the global atexit table is not
used in the dll) from the dll and causes link fail (duplicate definitions)
for any client app that calls atexit.
Patch fixes.
Please apply.
Danny
ChangeLog
2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* pe-dll.c (autofilter_entry_type autofilter_liblist: Add
startup files for mingw32 dlls to list.
--- pe-dll.c.orig Thu Oct 11 21:03:26 2001
+++ pe-dll.c Thu Oct 11 21:04:35 2001
@@ -239,6 +239,8 @@ static autofilter_entry_type autofilter_
{ "crt0.o", 6 },
{ "crt1.o", 6 },
{ "crt2.o", 6 },
+ { "dllcrt1.o", 9 },
+ { "dllcrt2.o", 9 },
{ NULL, 0 }
};
http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.