Remove ref_dynamic_nonweak added by accident
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 20 Nov 2012 22:17:27 +0000 (22:17 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 20 Nov 2012 22:17:27 +0000 (22:17 +0000)
commitdda8ddc56f160befb8f8fc3ddc69d66cec6ac4f8
tree6a21a6b6aab0bb38f1f46477eb562273cc48f61b
parentb039ef04574106adbac611394b008109967d2a73
Remove ref_dynamic_nonweak added by accident

bfd/

2012-11-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/14862
* elf-bfd.h (elf_link_hash_entry): Remove ref_dynamic_nonweak
added by accident.
(elf_link_add_object_symbols): Don't set nor check
ref_dynamic_nonweak.

ld/testsuite/

2012-11-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/14862
* ld-elf/shared.exp (build_tests): Build libpr14862-1.o and
libpr14862.so.
(run_tests): Test pr14862.

* ld-elf/pr14862-1.c: New file.
* ld-elf/pr14862-2.c: Likewise.
* ld-elf/pr14862.map: Likewise.
* ld-elf/pr14862.out: Likewise.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/pr14862-1.c [new file with mode: 0644]
ld/testsuite/ld-elf/pr14862-2.c [new file with mode: 0644]
ld/testsuite/ld-elf/pr14862.map [new file with mode: 0644]
ld/testsuite/ld-elf/pr14862.out [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp