diff options
author | Alan Modra <amodra@gmail.com> | 2017-05-02 21:56:43 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-05-03 00:51:06 +0930 |
commit | 73ec947d59c511411377ad51ef792a5fcdd3f0cc (patch) | |
tree | 3bc98c11dd40819541003b8dc55b5f6be30ae4a5 /binutils/ChangeLog | |
parent | a4ddc54ec1cd187c844ca631fe0315bf1d78e96f (diff) | |
download | gdb-73ec947d59c511411377ad51ef792a5fcdd3f0cc.zip gdb-73ec947d59c511411377ad51ef792a5fcdd3f0cc.tar.gz gdb-73ec947d59c511411377ad51ef792a5fcdd3f0cc.tar.bz2 |
PR 21384, --dynamic-list regression with f02cb058
The commit to "Always descend into output section statements in
lang_do_assignments" meant that linker script symbols were not
bfd_link_hash_new when ld called bfd_elf_record_link_assignment.
This patch corrects that problem by testing h->non_elf instead.
PR 21384
* elflink.c (bfd_elf_link_mark_dynamic_symbol): Test h->non_elf
rather than h->root.type == bfd_link_hash_new.
(bfd_elf_record_link_assignment): Similarly, call
bfd_elf_link_mark_dynamic_symbol when h->non_elf.
Diffstat (limited to 'binutils/ChangeLog')
0 files changed, 0 insertions, 0 deletions