[PATCH] D99572: [AArch64] [COFF] Properly produce cross-section relative relocations

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 03:26:04 PDT 2021


mstorsjo created this revision.
mstorsjo added reviewers: rnk, efriedma, compnerd.
Herald added subscribers: danielkiss, pengfei, hiraditya, kristof.beyls.
mstorsjo requested review of this revision.
Herald added a project: LLVM.

This fixes breakage on Windows/ARM64 after D94355 <https://reviews.llvm.org/D94355>.

Modelled after the corresponding code for X86; not entirely familiar
with those aspects of that layer otherwise.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99572

Files:
  llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
  llvm/test/MC/AArch64/coff-relocations-diags.s
  llvm/test/MC/AArch64/coff-relocations.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99572.334097.patch
Type: text/x-patch
Size: 3420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210330/f6ffe2bf/attachment.bin>


More information about the llvm-commits mailing list