529fcb9585
bfd/ * elflink.c (elf_link_add_object_symbols): Make symbols from discarded sections undefined. ld/testsuite/ * ld-elf/group1.d: New test. * ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.
9 lines
232 B
Makefile
9 lines
232 B
Makefile
#source: group1a.s
|
|
#source: group1b.s
|
|
#ld: -T group.ld
|
|
#readelf: -s
|
|
Symbol table '.symtab' contains .* entries:
|
|
#...
|
|
.*: 00001000 0 NOTYPE WEAK DEFAULT . foo
|
|
.*: 00000000 0 NOTYPE GLOBAL DEFAULT UND bar
|
|
#...
|