old-cross-binutils/ld/testsuite/ld-elf/group1.d
Paul Brook 529fcb9585 2004-12-01 Paul Brook <paul@codesourcery.com>
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.
2004-12-01 23:23:12 +00:00

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
#...