[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
Tue Mar 31 15:07:11 PDT 2015
In http://reviews.llvm.org/D7414#147888, @rafael wrote:
> > > Still not there. Which relocation gets matched to another is part of
>
> >
>
> >
>
> >
>
> >
>
> > > of the semantics of the assembly file. We have to match gas or
>
> >
>
> >
>
> >
>
> >
>
> > > document that we are incompatible.
>
> >
>
> >
>
> > Copied the sentence from the generic sortRelocs().
>
>
> That is a very different case. That is about ELF, not mips-ELF.
>
> On ELF, the order is not important, and we just need to make sure it
> is deterministic. On mips-ELF it is part of the semantics of the .o.
//// 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.
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