OSDN Git Service

* 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)
commit9a920a3792c16f34eb32475412066c1661209fa3
treee2c9afa682fd201d3dee15b6ee9f43e3c0893d02
parent5e346e9688ff8a790d4c2c3e188edb5b49abcd80
* 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