aboutsummaryrefslogtreecommitdiff
path: root/ld/pep-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/pep-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/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 5840cce..7d441ea 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 */