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 /bfd/ChangeLog | |
parent | 10059956eef2a85e0992d1df3aca304d380d0c43 (diff) | |
download | binutils-gdb-9242996ba250d0411efe6b00ee9a9893081d9137.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 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6159d3aea3f..392a46281fa 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2020-06-12 Roland McGrath <mcgrathr@google.com> + + * elflink.c (bfd_elf_define_start_stop): Use start_stop_visibility + field of bfd_link_info. + 2020-06-11 Alan Modra <amodra@gmail.com> PR 26107 @@ -330,7 +335,7 @@ (aout_link_add_symbols): e517df3dbf7 PR 19629 - Check for out of range string table offsets. 531336e3a0b PR 20909 - Fix off-by-one error in check for an - illegal string offset. + illegal string offset. (aout_link_includes_newfunc): Add comment. (pdp11_aout_link_input_section): ad756e3f9e6 - Return with an error on unexpected relocation type rather than ASSERT. |