From 6a1ad27af446103dca523ca5ee6486b96d083eaf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 16 Oct 2009 15:15:38 +0000 Subject: * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro. (gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option to exclude all symbols from automatic export. (gld_${EMULATION_NAME}_list_options): Describe it. (gld${EMULATION_NAME}_handle_option): Handle it. * emultempl/pep.em: Likewise to all the above. * pe-dll.c (pe_dll_exclude_all_symbols): New variable. (process_def_file_and_drectve): Use it. * pe-dll.h (pe_dll_exclude_all_symbols): Declare. * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias. * pep-dll.h (pe_dll_exclude_all_symbols): Declare. * NEWS: Mention the new feature. * ld.texinfo: Document the new command line switch. --- ld/pe-dll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ld/pe-dll.h') diff --git a/ld/pe-dll.h b/ld/pe-dll.h index 932bc81e56..a5ae9fb508 100644 --- a/ld/pe-dll.h +++ b/ld/pe-dll.h @@ -29,6 +29,7 @@ extern def_file *pe_def_file; extern int pe_dll_export_everything; +extern int pe_dll_exclude_all_symbols; extern int pe_dll_do_default_excludes; extern int pe_dll_kill_ats; extern int pe_dll_stdcall_aliases; @@ -67,7 +68,6 @@ extern void pe_create_import_fixup extern bfd_boolean pe_bfd_is_dll (bfd *); extern void pe_output_file_set_long_section_names - (bfd *abfd); - + (bfd *); #endif /* PE_DLL_H */ -- cgit v1.2.1