mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
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.
9 lines
79 B
Plaintext
9 lines
79 B
Plaintext
SECTIONS
|
|
{
|
|
. = 0x800000;
|
|
PROVIDE (bar = .);
|
|
.data : {
|
|
*(.data)
|
|
}
|
|
}
|