This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why does ELF/alpha put none-text relocations in .rela.text?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]