OSDN Git Service

bfd/
authorhjl <hjl>
Tue, 16 Sep 2008 14:09:34 +0000 (14:09 +0000)
committerhjl <hjl>
Tue, 16 Sep 2008 14:09:34 +0000 (14:09 +0000)
commit8573402b6dbda73424fca31c77345f378cb07a5c
tree5c3c8bde69f16d84a88ac2d663a1b9014bff41cb
parent5286bcd3ca2cffcff8250dac8a98738048127883
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