Mixing REL and RELA
H.J. Lu
hjl@lucon.org
Thu Apr 15 14:28:00 GMT 1999
>
> I had this working at least for a little while for the 64 bit MIPS ELF
> target, where the ABI from SGI requires it. However, that target
> never really worked, so I don't know how well mixing REL and RELA
> works.
>
> The support I wrote for MIPS is CPU dependent; the code is in
> elf64-mips.c. But I can't think of any reason why it has to be there.
>
> Most relocation processing is CPU dependent anyhow, probably too much
> so.
>
> However, I would discourage mixing REL and RELA in object files.
> That's just added complexity for no real benefit that I can see.
>
Unfortunately some ABIs require that.
--
H.J. Lu (hjl@gnu.org)
More information about the Bfd
mailing list