diff options
author | Cary Coutant <ccoutant@gmail.com> | 2015-06-04 20:58:08 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2015-06-04 20:58:08 -0700 |
commit | cd3c333f43f03d6e41668a82a68a99c14000a681 (patch) | |
tree | 111fa29f0aff6318e7df16f84d90003775adc8f0 /bfd/mep-relocs.pl | |
parent | dc302c00611b6973fbc55e9fdd643ad24c370bd1 (diff) | |
download | gdb-cd3c333f43f03d6e41668a82a68a99c14000a681.zip gdb-cd3c333f43f03d6e41668a82a68a99c14000a681.tar.gz gdb-cd3c333f43f03d6e41668a82a68a99c14000a681.tar.bz2 |
Change default to discard temporary local symbols in merge sections.
Add --discard-none to keep all local symbols.
gold/
PR gold/17498
* object.cc (Sized_relobj_file::do_count_local_symbols): Discard
temporary locals in merge sections.
* options.cc (General_options::parse_discard_all): New method.
(General_options::parse_discard_locals): New method.
(General_options::parse_discard_none): New method.
(General_options::General_options): Initialize discard_locals_.
* options.h (--discard-all): Convert to special option.
(--discard-locals): Likewise.
(--discard-none): New option.
(General_options::discard_all): New method.
(General_options::discard_locals): New method.
(General_options::discard_sec_merge): New method.
(General_options::Discard_locals): New enum.
(General_options::discard_locals_): New data member.
Diffstat (limited to 'bfd/mep-relocs.pl')
0 files changed, 0 insertions, 0 deletions