bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 23 Jul 2007 09:56:19 +0000 (09:56 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 23 Jul 2007 09:56:19 +0000 (09:56 +0000)
commita26587bab514ebd91e3463018462acc6855826f1
tree0311bc63776a670e00cdc3730b3c9e520722b7c7
parent07a5aea53e1b1d0d2148ed6a49e18d141dc504b0
bfd/
* elflink.c (_bfd_elf_fix_symbol_flags): Only assert the type
of weakdef->root.type if weakdef has no regular definition.

ld/testsuite/
* ld-elf/weak-dyn-1a.s, ld-elf/weak-dyn-1b.s, ld-elf/weak-dyn-1.ld,
* ld-elf/weak-dyn-1.rd: New test.
* ld-elf/elf.exp: Run it.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/elf.exp
ld/testsuite/ld-elf/weak-dyn-1.ld [new file with mode: 0644]
ld/testsuite/ld-elf/weak-dyn-1.rd [new file with mode: 0644]
ld/testsuite/ld-elf/weak-dyn-1a.s [new file with mode: 0644]
ld/testsuite/ld-elf/weak-dyn-1b.s [new file with mode: 0644]