xstormy2 pcrel reloc fix

Geoff Keating geoffk@geoffk.org
Fri Jan 3 00:17:00 GMT 2003


DJ Delorie <dj@delorie.com> writes:

> > I thought I'd avoided this problem by defining the initial offset of
> > the reloc differently for each size of insn, so that it wasn't
> > necessary to be clever when applying the reloc...
> 
> I don't see anything that would do that in there.  I did try playing
> with md_pcrel_from_section but I couldn't get it to propogate the
> information correctly.

It would be in the cgen code.  I don't remember if cgen was supposed
to do it automatically or if it was added by hand.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Binutils mailing list