summaryrefslogtreecommitdiff
path: root/ld/pep-dll.c
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.c
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.c')
-rw-r--r--ld/pep-dll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/pep-dll.c b/ld/pep-dll.c
index 8f7cc99513..3d8882dcb4 100644
--- a/ld/pep-dll.c
+++ b/ld/pep-dll.c
@@ -29,6 +29,7 @@
#define pe_dll_compat_implib pep_dll_compat_implib
#define pe_dll_extra_pe_debug pep_dll_extra_pe_debug
#define pe_dll_export_everything pep_dll_export_everything
+#define pe_dll_exclude_all_symbols pep_dll_exclude_all_symbols
#define pe_dll_do_default_excludes pep_dll_do_default_excludes
#define pe_dll_kill_ats pep_dll_kill_ats
#define pe_dll_stdcall_aliases pep_dll_stdcall_aliases