Fix uninitialized data in .dynsym

Alan Modra amodra@bigpond.net.au
Mon Jul 9 10:44:00 GMT 2007


On Fri, Jul 06, 2007 at 11:07:40PM +0000, Joseph S. Myers wrote:
> 	* elflink.c (bfd_elf_link_record_dynamic_symbol): Do not set
> 	dynindx for indirect symbols.

OK.  However I think you are really just papering over bugs in the
way we handle symbols defined on the command line.  Such symbols ought
to behave the same as those defined in object files, which would mean
that "foo" ought to be dynamic.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list