diff options
author | Nick Clifton <nickc@redhat.com> | 2009-10-16 15:15:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-10-16 15:15:39 +0000 |
commit | 2927aacaee356e861452258500e0b7ace0449977 (patch) | |
tree | 75d3b031ef6f40d1771f59145a1a69e852588a83 /ld/pep-dll.c | |
parent | 3873ba12303f6ceec282b213c59e18d2bc061a58 (diff) | |
download | gdb-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.c')
-rw-r--r-- | ld/pep-dll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/pep-dll.c b/ld/pep-dll.c index 8f7cc99..3d8882d 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 |