Fix assertion failure on aliases of dynamic weak symbols

Alan Modra amodra@bigpond.net.au
Mon Jul 23 10:05:00 GMT 2007


On Mon, Jul 16, 2007 at 06:10:10PM +0100, Richard Sandiford wrote:
> 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.

This is OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list