This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Linker Bug or Design Intent (Absolute symbols in zero sized sections)
On Wednesday 27 September 2006 00:28, Alan Modra wrote:
> On Tue, Sep 26, 2006 at 12:52:11PM -0400, Paul Koning wrote:
> > >>>>> "H" == H J Lu <hjl@lucon.org> writes:
> >
> > H> Convert section relative symbol to absolute shouldn't be a problem
> > H> in most cases. If we know it may be a problem at link time, we can
> > H> keep it section relative.
> >
> > But what benefit is there in converting symbols from relative to
> > absolute? It seems more logical to leave them alone, always.
>
> We are talking about the case where the section defining the symbol
> is removed from the output.
If we remove the section shouldn't we also remove the symbol?
Paul