This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Why are there 2 continous R_MIPS_HI16 reloc entries in the ELF excutable?
"Pan ruochen" <panruochen@gmail.com> writes:
>> The GNU toolchain allows relaxed rules of R_MIPS_HI16/R_MIPS_LO16
>> as an extension. (This allows some optimizations which wouldn't be
>> possible otherwise.)
>>
>>
>> Thiemo
>>
>
> How should I handle the GNU extension then? Are there any document?
Compute R_MIPS_HI16 as usual. For R_MIPS_LO16, use the addend from
the immediately preceding R_MIPS_HI16.
Ian