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 <[EMAIL PROTECTED]> > > * 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.