[PATCH] D102575: [SPARC][MC] Support more relocation types

LemonBoy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 16 04:41:08 PDT 2021


LemonBoy created this revision.
LemonBoy added reviewers: jrtc27, dcederman, joerg, brad, jyknight.
Herald added subscribers: fedor.sergeev, hiraditya.
LemonBoy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch introduces support for `%hix`, `%lox`, `%gdop_hix22`, `%gdop_lox10` and `%gdop`.

An extra test is introduced to make sure the fixups are correctly applied.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102575

Files:
  llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
  llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
  llvm/lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
  llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
  llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h
  llvm/test/MC/Sparc/sparc-fixups.s
  llvm/test/MC/Sparc/sparc-relocations.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102575.345699.patch
Type: text/x-patch
Size: 10984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210516/76966f45/attachment.bin>


More information about the llvm-commits mailing list