This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: xstormy2 pcrel reloc fix
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>