summaryrefslogtreecommitdiff
path: root/ld/pep-dll.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-10-16 15:15:38 +0000
committerNick Clifton <nickc@redhat.com>2009-10-16 15:15:38 +0000
commit6a1ad27af446103dca523ca5ee6486b96d083eaf (patch)
tree095988e9d12ec6b6f5429d991794068313d253ee /ld/pep-dll.h
parent95a5bbff375ab10b80f5fddcf7c5ce61a8867224 (diff)
downloadbinutils-redhat-6a1ad27af446103dca523ca5ee6486b96d083eaf.tar.gz
* 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/pep-dll.h')
-rw-r--r--ld/pep-dll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/pep-dll.h b/ld/pep-dll.h
index 5840ccede5..7d441ea22a 100644
--- a/ld/pep-dll.h
+++ b/ld/pep-dll.h
@@ -29,6 +29,7 @@
extern def_file * pep_def_file;
extern int pep_dll_export_everything;
+extern int pep_dll_exclude_all_symbols;
extern int pep_dll_do_default_excludes;
extern int pep_dll_kill_ats;
extern int pep_dll_stdcall_aliases;
@@ -54,7 +55,6 @@ extern void pep_walk_relocs_of_symbol
(struct bfd_link_info *, const char *, int (*) (arelent *, asection *));
extern void pep_create_import_fixup (arelent * rel, asection *, bfd_vma);
extern bfd_boolean pep_bfd_is_dll (bfd *);
-extern void pep_output_file_set_long_section_names
- (bfd *abfd);
+extern void pep_output_file_set_long_section_names (bfd *);
#endif /* PEP_DLL_H */