This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: unreferenced local symbols generated in .dynsym
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: Ian Lance Taylor <ian at airs dot com>, binutils at sources dot redhat dot com
- Date: Wed, 23 Apr 2003 21:23:19 +0200
- Subject: Re: unreferenced local symbols generated in .dynsym
- References: <m3d6jdkq5p.fsf@gossamer.airs.com> <200304231913.h3NJDeR11277@magilla.sf.frob.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Apr 23, 2003 at 12:13:40PM -0700, Roland McGrath wrote:
> I am probably missing something. I don't see why section symbols are ever
> useful in .dynsym. The layout is fixed by the time that's being made, so
> relocs to sections can be converted to R_*_RELATIVE. If there are relocs
> of other types that require a symbol and can't be converted (non-wordsize
> relocs for some architectures and so forth), then they can still be
> converted to be relative to a single local symbol in .dynsym.
E.g. shndx 0 which is mandatory.
Jakub