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]

Patch told/pe_dll.c: More excludes for --export-all


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.


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