a26587bab5
* 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.
8 lines
79 B
Text
8 lines
79 B
Text
SECTIONS
|
|
{
|
|
. = 0x800000;
|
|
PROVIDE (bar = .);
|
|
.data : {
|
|
*(.data)
|
|
}
|
|
}
|