Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <20020520224016.18370.qmail@web14503.mail.yahoo.com> Date: Tue, 21 May 2002 08:40:16 +1000 (EST) From: =?iso-8859-1?q?Danny=20Smith?= Subject: [mingw/cygwin]: More default excludes for --export-all-symbols with ld --shared. To: binutils , cygwin-apps MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 * 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!