diff options
author | fincs <fincs.alt1@gmail.com> | 2016-12-16 13:42:02 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-12-16 13:49:03 +1030 |
commit | 221855059a11ab76aa909a5df4104354f9384139 (patch) | |
tree | e1bd030fe42b33167faff27c3df182cc6843054d /ld/ldlex.h | |
parent | 4c4067e410581fe5c6190407b4fd410e7b71f9e4 (diff) | |
download | gdb-221855059a11ab76aa909a5df4104354f9384139.zip gdb-221855059a11ab76aa909a5df4104354f9384139.tar.gz gdb-221855059a11ab76aa909a5df4104354f9384139.tar.bz2 |
Implement and document --gc-keep-exported
include/
* bfdlink.h (struct bfd_link_info): Add gc_keep_exported.
bfd/
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Add handling
for info->gc_keep_exported.
(bfd_elf_gc_sections): Likewise.
ld/
* ld.texinfo: Document --gc-keep-exported.
* ldlex.h (enum option_values): Add OPTION_GC_KEEP_EXPORTED.
* lexsup.c (parse_args): Add handling for --gc-keep-exported.
Diffstat (limited to 'ld/ldlex.h')
-rw-r--r-- | ld/ldlex.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -101,6 +101,7 @@ enum option_values OPTION_NO_GC_SECTIONS, OPTION_PRINT_GC_SECTIONS, OPTION_NO_PRINT_GC_SECTIONS, + OPTION_GC_KEEP_EXPORTED, OPTION_HASH_SIZE, OPTION_CHECK_SECTIONS, OPTION_NO_CHECK_SECTIONS, |