[PATCH] Re-enable a hook in MCELFObjectTargetWriter to allow target-specific relocationtable sorting and use this hook for Mips.

Vladimir Stefanovic vladimir.stefanovic at imgtec.com
Wed Apr 1 15:26:15 PDT 2015


In http://reviews.llvm.org/D7414#150147, @rafael wrote:

> > //// There may be more ways to sort the table while respecting the ABI rule;
>
> >  //// we always sort the same way gnu as does, for compatibility.
>
>
> Still not particularly clear. We *have* to sort it in a way that
>  causes bfd ld to match the same hi and lo relocations as would be
>  matched had the .s been assembled by gas.
>
> Cheers,
> Rafael


Ok, a new one:

// We are reusing gnu as sorting algorithm so we are emitting the relocation
// table sorted the same way as gnu as would sort it.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7414

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list