* pe-dll.c (autofilter_liblist): Add more system libs excluded by default.
authorChristopher Faylor <me+cygwin@cgf.cx>
Wed, 22 May 2002 18:03:09 +0000 (18:03 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Wed, 22 May 2002 18:03:09 +0000 (18:03 +0000)
commit70b0be790399493084660877bf2cfeae26c61117
treeeff851bbfc460723fcabdf9273b1437f63acc41d
parent76feaaf3597dd644456717109f9268006c24bb6c
* pe-dll.c (autofilter_liblist): Add more system libs excluded by default.
(autofilter_objlist): Add crtbegin.o, crtend.o.
* 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.
ld/ChangeLog
ld/emultempl/pe.em
ld/ld.texinfo
ld/pe-dll.c
ld/pe-dll.h