[all-commits] [llvm/llvm-project] 382c50: [COFF] Fix ARM and ARM64 REL32 relocations to be r...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue May 11 23:54:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 382c505d9cfca8adaec47aea2da7bbcbc00fc05c
      https://github.com/llvm/llvm-project/commit/382c505d9cfca8adaec47aea2da7bbcbc00fc05c
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M llvm/lib/MC/WinCOFFObjectWriter.cpp
    M llvm/test/MC/AArch64/coff-relocations.s
    M llvm/test/MC/ARM/coff-relocations.s

  Log Message:
  -----------
  [COFF] Fix ARM and ARM64 REL32 relocations to be relative to the end of the relocation

This matches how they are defined on X86.

This should fix the relative lookup tables pass for COFF, allowing
it to be reenabled.

Differential Revision: https://reviews.llvm.org/D102217




More information about the All-commits mailing list