OSDN Git Service

* pe-dll.c (autofilter_liblist): Add more system libs excluded by default.
authorcgf <cgf>
Wed, 22 May 2002 18:03:05 +0000 (18:03 +0000)
committercgf <cgf>
Wed, 22 May 2002 18:03:05 +0000 (18:03 +0000)
commit7b760cadd099cdd092bf93ba99a74d673e677151
treef699a3962ac8b12e714ccdbf3fa7566028a420be
parente7897fb4fb37dc63620379acdc836bebe45e44ae
* 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