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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Mar 27 07:41:12 PDT 2015


>> 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.



More information about the llvm-commits mailing list