This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Why does ELF/alpha put none-text relocations in .rela.text?
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: Why does ELF/alpha put none-text relocations in .rela.text?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 20 Aug 2001 15:46:41 -0700
- Cc: binutils at sourceware dot cygnus dot com
- References: <20010820114419.A16601@lucon.org> <20010820150328.F27464@redhat.com>
On Mon, Aug 20, 2001 at 03:03:28PM -0700, Richard Henderson wrote:
> On Mon, Aug 20, 2001 at 11:44:19AM -0700, H . J . Lu wrote:
> > 00000000 200569c000000006 R_ALPHA_GPDISP bad symbol index: 200569c0
> >
> > How should we fix it?
>
> The symbol for GPDISP is completely irrelevant. Only the offset
> is meaningful. Use the current section symbol rather than a
> random section symbol.
But it is a bad idea to use the debug section symbol since it may
be removed.
H.J.