This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix uninitialized data in .dynsym
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 9 Jul 2007 19:18:13 +0930
- Subject: Re: Fix uninitialized data in .dynsym
- References: <Pine.LNX.4.64.0707062305580.1118@digraph.polyomino.org.uk>
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