bfd/
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 2 Jan 2009 19:29:38 +0000 (19:29 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 2 Jan 2009 19:29:38 +0000 (19:29 +0000)
commit54ac0771d70dc2db461671bb5e1cd00852278de9
treef42c1523fa7eca4e044306ceca32c80f193377d0
parentd88805311b781c162446afb8d31c2bb854b024cc
bfd/

2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9679
* elflink.c (elf_merge_st_other): New.
(_bfd_elf_merge_symbol): Use it on skipped weak definitions and
hide them if needed.
(elf_link_add_object_symbols): Updated.

ld/testsuite/

2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/9679
* ld-elf/pr9679-1.c: New.
* ld-elf/pr9679-2.c: Likewise.
* ld-elf/pr9679.rd: Likewise.

* ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/pr9679-1.c [new file with mode: 0644]
ld/testsuite/ld-elf/pr9679-2.c [new file with mode: 0644]
ld/testsuite/ld-elf/pr9679.rd [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp