[PATCH] D113341: [SystemZ] Support symbolic displacements.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 6 04:35:06 PDT 2021


jonpa created this revision.
jonpa added a reviewer: uweigand.
Herald added a subscriber: hiraditya.
jonpa requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch aims to add support for symbolic displacements, e.g. like 'lg %r0, sym(%r1)', which is done by means of relocations. This is needed to compile the kernel with clang without disabling the integrated assembler.


https://reviews.llvm.org/D113341

Files:
  llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.h
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCFixups.h
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
  llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
  llvm/test/MC/SystemZ/fixups.s
  llvm/test/MC/SystemZ/reloc-directive.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113341.385261.patch
Type: text/x-patch
Size: 19190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211106/c067c496/attachment.bin>


More information about the llvm-commits mailing list