[PATCH] D81553: [VE] Support relocation information in MC layer

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 05:25:42 PDT 2020


kaz7 created this revision.
kaz7 added reviewers: simoll, k-ishizaka.
kaz7 added projects: LLVM, VE.
Herald added subscribers: llvm-commits, hiraditya.

Change VEAsmParser to support identification with relocation information
in assmebler.  Change VEAsmBackend to support relocation information in
MC layer.  Change VEDisassembler and VEMCCodeEmitter to support binary
generation of branch target operands.  Add REFLONG fixup and variant kind
to support new R_VE_REFLONG ELF symbol.  And, add regression test in both
MC and CodeGen to check binary genaration with relocation information.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81553

Files:
  llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp
  llvm/lib/Target/VE/Disassembler/VEDisassembler.cpp
  llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp
  llvm/lib/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp
  llvm/lib/Target/VE/MCTargetDesc/VEFixupKinds.h
  llvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
  llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
  llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.h
  llvm/lib/Target/VE/VEInstrInfo.td
  llvm/test/CodeGen/VE/symbol_relocation.ll
  llvm/test/CodeGen/VE/symbol_relocation_tls.ll
  llvm/test/MC/VE/sym-got.s
  llvm/test/MC/VE/sym-gotoff.s
  llvm/test/MC/VE/sym-tls.s
  llvm/test/MC/VE/sym-tpoff.s
  llvm/test/MC/VE/symbols.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81553.269798.patch
Type: text/x-patch
Size: 32118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200610/22945020/attachment.bin>


More information about the llvm-commits mailing list