[lld] [PATCH] Add support for MachO ripRel32MinusNAnon relocations.

Lang Hames lhames at gmail.com
Tue May 12 17:33:33 PDT 2015


Thanks Nick. Committed as r237219.

- Lang.

On Tue, May 12, 2015 at 1:00 PM, Nick Kledzik <kledzik at apple.com> wrote:

> LGTM
>
> -Nick
>
>
> On May 5, 2015, at 1:13 PM, Lang Hames <lhames at gmail.com> wrote:
>
> Hi All,
>
> This patch adds support for MachO rip-relative relocations for
> instructions that have an extra immediate field. These relocations are
> analogues of the riplRel32MinusN relocations, but for anonymous targets,
> e.g.:
>
> movb $0x12, L1(%rip)            // ripRel32Minus1Anon
> movw $0x1234, L1(%rip)          // ripRel32Minus2Anon
> ex: movw $0x12345678, L1(%rip)  // ripRel32Minus4Anon
>
> Cheers,
> Lang.
> <lld-add-macho-rip-rel-minus-n-relocs.patch>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150512/fcc4bc83/attachment.html>


More information about the llvm-commits mailing list