This patch adds a few more system libs to the list of those excluded
by default.  It also adds two more startup objects, 
crtbegin.o and crtend.o to the list of objects excluded by default.
Those two objects are necessary for current MinGW implemntation of
Dwarf2 EH in GCC 3.1.  

Tested on MinGW with GCC 3.1 and GCC 2.95.3 and current CVS binutils.

2002-05-21  Danny Smith  <[EMAIL PROTECTED]>

        * pe-dll.c (autofilter_liblist): Add more system libs excluded
        by default.
        (autofilter_objlist): Add crtbegin.o, crtend.o.


===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.39
diff -u -p -r1.39 pe-dll.c
--- src/ld/pe-dll.c     3 May 2002 13:48:55 -0000       1.39
+++ src/ld/pe-dll.c     20 May 2002 22:07:50 -0000
@@ -231,6 +231,9 @@ static autofilter_entry_type autofilter_
   { "libgcc.", 7 },
   { "libstdc++.", 10 },
   { "libmingw32.", 11 },
+  { "libg2c.", 7 },
+  { "libsupc++.", 10 },
+  { "libobjc.", 8 }, 
   { NULL, 0 }
 };
 
@@ -244,6 +247,8 @@ static autofilter_entry_type autofilter_
   { "gcrt0.o", 7 },
   { "gcrt1.o", 7 },
   { "gcrt2.o", 7 },
+  { "crtbegin.o", 10 },
+  { "crtend.o", 8 },
   { NULL, 0 }
 };

 


http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Save your important files online for easy access!

Reply via email to