bfd/
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 16 Sep 2008 14:09:34 +0000 (14:09 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 16 Sep 2008 14:09:34 +0000 (14:09 +0000)
commit0a36a439ee413816df8ab88a769135076e6355f6
tree9038090ce719b70f67aaacdbd267a4bc5aad52de
parente87d403811e6f31fde1848a31c9e1feec914b37e
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