aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
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/ld.texinfo
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/ld.texinfo')
-rw-r--r--ld/ld.texinfo5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 21ff9cd..4899d61 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -2224,6 +2224,11 @@ Specifies a list of symbols which should not be automatically
exported. The symbol names may be delimited by commas or colons.
[This option is specific to the i386 PE targeted port of the linker]
+@kindex --exclude-all-symbols
+@item --exclude-all-symbols
+Specifies no symbols should be automatically exported.
+[This option is specific to the i386 PE targeted port of the linker]
+
@kindex --file-alignment
@item --file-alignment
Specify the file alignment. Sections in the file will always begin at