]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - include/ChangeLog
Handle -z unique/-z nounique in ld
authorVivek Das Mohapatra <vivek@collabora.com>
Mon, 14 Dec 2020 17:25:51 +0000 (17:25 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Dec 2020 08:14:56 +0000 (18:44 +1030)
commit6a0a0dd0cc43765d8e5e277aeaaf169a863f2315
tree776cc1a93737ca13d34c6f6c0c906134c7ddd46f
parentee0688c2339deba4bca7d57a96001183aa06a765
Handle -z unique/-z nounique in ld

Add (or suppress) a DT_GNU_FLAGS_1 dynamic section
with a bit flag value of DF_GNU_1_UNIQUE.

bfd/
* elflink.c (bfd_elf_size_dynamic_sections): Call
_bfd_elf_add_dynamic_entry to add a DT_GNU_FLAGS_1 section.
include/
* bfdlink.h (struct bfd_link_info): New field gnu_flags_1.
ld/
* emultempl/elf.em (gld${EMULATION_NAME}_handle_option):
Parse -z unique / -z nounique options.
bfd/ChangeLog
bfd/elflink.c
include/ChangeLog
include/bfdlink.h
ld/ChangeLog
ld/emultempl/elf.em