delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-apps-help AT cygwin DOT com; run by ezmlm |
Sender: | cygwin-apps-owner AT cygwin DOT com |
List-Subscribe: | <mailto:cygwin-apps-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
List-Post: | <mailto:cygwin-apps AT cygwin DOT com> |
List-Help: | <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs> |
Mail-Followup-To: | cygwin-apps AT cygwin DOT com |
Delivered-To: | mailing list cygwin-apps AT cygwin DOT com |
Message-ID: | <3CF69680.3050007@ece.gatech.edu> |
Date: | Thu, 30 May 2002 17:15:44 -0400 |
From: | Charles Wilson <cwilson AT ece DOT gatech DOT edu> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 |
X-Accept-Language: | en-us |
MIME-Version: | 1.0 |
CC: | cygwin-apps <cygwin-apps AT cygwin DOT com> |
Subject: | Re: Excude whole libs when building w32 dlls with -export-all [Refresh] |
References: | <20020520225008 DOT 84334 DOT qmail AT web14501 DOT mail DOT yahoo DOT com> |
X-Virus-Scanned: | by amavisd-milter (http://amavis.org/) |
FWIW, it appears that this patch was committed on 21 May 2002. --Chuck Danny Smith wrote: > The previous post had incorrect subject heading. This is a repost. Sorry. > > This is a refresh of: > > http://sources.redhat.com/ml/binutils/2002-04/msg00472.html > > The patch allows exclusion of symbols in specified libs (optionally all > libs) from export table when producing dll's using ld --shared. > Listing of symbol names in a .def file forces those specific symbols > to be included even if they are contained in excluded libs. > > > > Can this be reviewed? > > The diff updated to current CVS is attached. > > 2002-05-21 Danny Smith <dannysmith AT users DOT sourceforge DOT net> > > * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. > (longopts): Add new option --exclude-libs. > (gld_${EMULATION_NAME}_list_options): Give quick help about it. > (gld_${EMULATION_NAME}_parse_args): Use it. > * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. > * pe-dll.c (exclude_list_struct): Add field type to distinguish > symbols from whole archives. > (pe_dll_add_excludes): Set excludes->type. > (auto_export): Add new variable libname and set to > archive basename if abfd. Use it when filtering default and > user-specified libarary excludes. Let string "ALL" mean all libs > when filtering user-specified libs. > * ld.texinfo: Document --exclude-libs.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |