extracting relocation info from COFF from "section contents" base d on partial_inplace

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Thu Apr 8 18:10:00 GMT 2004


Dave Korn wrote:
[snip]
> > That's why it's often useful to use RELA relocs for RISC chips.  It
> > wastes space, but it simplifies and speeds up the linker.
> > 
> > Ian
> 
>   IIUIC, as I said above, it isn't just simplifying: it's completely vital
> if the long load sequence uses a sign-extending load for the lo part of the
> address, isn't it?

It can be made work with some ordering constraints. E.g. MIPS uses
REL mandatory for ABI O32, and the IRIX implementation for the
N32/N64 ABIs still does so for _HI16, _LO16, too.


Thiemo



More information about the Binutils mailing list