summaryrefslogtreecommitdiff
path: root/ld/pe-dll.h
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2002-05-22 18:03:09 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2002-05-22 18:03:09 +0000
commit9a920a3792c16f34eb32475412066c1661209fa3 (patch)
treee2c9afa682fd201d3dee15b6ee9f43e3c0893d02 /ld/pe-dll.h
parent5e346e9688ff8a790d4c2c3e188edb5b49abcd80 (diff)
downloadbinutils-redhat-9a920a3792c16f34eb32475412066c1661209fa3.tar.gz
* 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/pe-dll.h b/ld/pe-dll.h
index f5e9324882..b651f8d83e 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 *));