bfd/
commitec5486ebe545467e1dada2cfe60e4408a0f3c6d9
authorH.J. Lu <hjl@lucon.org>
Tue, 16 Sep 2008 14:09:34 +0000 (16 14:09 +0000)
committerH.J. Lu <hjl@lucon.org>
Tue, 16 Sep 2008 14:09:34 +0000 (16 14:09 +0000)
tree56e433b00e09b2952ff882e296a8967c467399d5
parent1169378bba3448ce9b56b9de888049b1576eec84
bfd/

2008-09-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/6877
* elflink.c (_bfd_elf_merge_symbol): Allow a common symbol to
override the function in a shared library.

ld/testsuite/

2008-09-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/6877
* ld-elf/comm1.c: New.
* ld-elf/func1.c: Likewise.

* ld-elf/shared.exp: Add tests for libfunc1.so and comm1.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/comm1.c [new file with mode: 0644]
ld/testsuite/ld-elf/func1.c [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp