aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-10-16 15:15:39 +0000
committerNick Clifton <nickc@redhat.com>2009-10-16 15:15:39 +0000
commit2927aacaee356e861452258500e0b7ace0449977 (patch)
tree75d3b031ef6f40d1771f59145a1a69e852588a83 /ld/pe-dll.h
parent3873ba12303f6ceec282b213c59e18d2bc061a58 (diff)
downloadgdb-2927aacaee356e861452258500e0b7ace0449977.zip
gdb-2927aacaee356e861452258500e0b7ace0449977.tar.gz
gdb-2927aacaee356e861452258500e0b7ace0449977.tar.bz2
* 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.
Diffstat (limited to 'ld/pe-dll.h')
-rw-r--r--ld/pe-dll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/pe-dll.h b/ld/pe-dll.h
index 932bc81..a5ae9fb 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 */