From 70b0be790399493084660877bf2cfeae26c61117 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 22 May 2002 18:03:09 +0000 Subject: * 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/pe-dll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/pe-dll.h') 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 *)); -- cgit v1.1