diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2002-05-22 18:03:09 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2002-05-22 18:03:09 +0000 |
commit | 70b0be790399493084660877bf2cfeae26c61117 (patch) | |
tree | eff851bbfc460723fcabdf9273b1437f63acc41d /ld/pe-dll.h | |
parent | 76feaaf3597dd644456717109f9268006c24bb6c (diff) | |
download | gdb-70b0be790399493084660877bf2cfeae26c61117.zip gdb-70b0be790399493084660877bf2cfeae26c61117.tar.gz gdb-70b0be790399493084660877bf2cfeae26c61117.tar.bz2 |
* 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.
Diffstat (limited to 'ld/pe-dll.h')
-rw-r--r-- | ld/pe-dll.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/pe-dll.h b/ld/pe-dll.h index f5e9324..b651f8d 100644 --- a/ld/pe-dll.h +++ b/ld/pe-dll.h @@ -36,7 +36,7 @@ extern int pe_dll_compat_implib; extern int pe_dll_extra_pe_debug; extern void pe_dll_id_target PARAMS ((const char *)); -extern void pe_dll_add_excludes PARAMS ((const char *)); +extern void pe_dll_add_excludes PARAMS ((const char *, const int)); extern void pe_dll_generate_def_file PARAMS ((const char *)); extern void pe_dll_generate_implib PARAMS ((def_file *, const char *)); extern void pe_process_import_defs PARAMS ((bfd *, struct bfd_link_info *)); |