[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/21384] symbols defined with --dynamic-list missing in output bin
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/21384] symbols defined with --dynamic-list missing in output binary |
Date: |
Tue, 02 May 2017 15:23:28 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21384
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=73ec947d59c511411377ad51ef792a5fcdd3f0cc
commit 73ec947d59c511411377ad51ef792a5fcdd3f0cc
Author: Alan Modra <address@hidden>
Date: Tue May 2 21:56:43 2017 +0930
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/21384] symbols defined with --dynamic-list missing in output binary,
cvs-commit at gcc dot gnu.org <=