diff options
author | Roland McGrath <mcgrathr@google.com> | 2020-06-12 23:52:57 -0700 |
---|---|---|
committer | Roland McGrath <mcgrathr@google.com> | 2020-06-12 23:52:57 -0700 |
commit | 9242996ba250d0411efe6b00ee9a9893081d9137 (patch) | |
tree | 2d20f848d72886f5e8297c6b056a38c0952292bc /gold/ChangeLog | |
parent | 10059956eef2a85e0992d1df3aca304d380d0c43 (diff) | |
download | binutils-gdb-users/roland/ld-start-stop-visibility.tar.gz |
gold, ld: Implement -z start-stop-visibility=... option.users/roland/ld-start-stop-visibility
gold/
* options.h (class General_options): Handle -z start-stop-visibility=.
(General_options::start_stop_visibility): New public method.
(General_options::start_stop_visibility_): New private member.
* options.cc (General_options::General_options): Add initializer.
(General_options::parse_start_stop_visibility): New function.
* layout.cc (Layout::define_section_symbols): Use option setting.
bfd/
* elflink.c (bfd_elf_define_start_stop): Use start_stop_visibility
field of bfd_link_info.
include/
* bfdlink.h (struct bfd_link_info): New field start_stop_visibility.
ld/
* NEWS: Mention -z start-stop-visibility=... option for ELF.
* ld.texi (Options): Document -z start-stop-visibility=... option.
* ldmain.c (main): Initialize link_info.start_stop_visibility.
* emultempl/elf.em (gld${EMULATION_NAME}_handle_option):
Parse -z start-stop-visibility=... option.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index f3d37159362..5fa3b630801 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,13 @@ +2020-06-12 Roland McGrath <mcgrathr@google.com> + + Implement -z start-stop-visibility=... option. + * options.h (class General_options): Handle -z start-stop-visibility=. + (General_options::start_stop_visibility): New public method. + (General_options::start_stop_visibility_): New private member. + * options.cc (General_options::General_options): Add initializer. + (General_options::parse_start_stop_visibility): New function. + * layout.cc (Layout::define_section_symbols): Use option setting. + 2020-06-06 Alan Modra <amodra@gmail.com> * powerpc.cc: Update throughout for reloc renaming. |