Mark symbol in executables if it matches dynamic_list
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 6 Feb 2014 17:44:25 +0000 (09:44 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 10 Feb 2014 16:05:54 +0000 (08:05 -0800)
commitd6f6f455778b10037503bcc39352b5174bba5e45
treebb55f13f52e8450b540735993d05ce7d367cbf29
parent8577303939d47fc3dd433ed31f78ee47c6ad0aa8
Mark symbol in executables if it matches dynamic_list

bfd/

PR gold/16530
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark symbol in
executables if it matches dynamic_list.

ld/testsuite/

PR gold/16530
* ld-elf/dynamic-1.c: New file.
* ld-elf/dynamic-1.rd: Likewise.
* ld-elf/dynamic-1.syms: Likewise.

* ld-elf/shared.exp (build_tests): Add dynamic-1.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/dynamic-1.c [new file with mode: 0644]
ld/testsuite/ld-elf/dynamic-1.rd [new file with mode: 0644]
ld/testsuite/ld-elf/dynamic-1.syms [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp