[PATCH] D142879: [RISCV] Emit relocation for uleb128

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 01:10:46 PDT 2023


kito-cheng updated this revision to Diff 507636.
kito-cheng marked an inline comment as done.
kito-cheng added a comment.
Herald added a subscriber: jobnoorman.

Changes:

- Update relocation number to 60 and 61.
- Move testcase to fixups-expr-uleb128.s
- Reserved enough bytes when the symbol can't evaluated at assembly time.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142879/new/

https://reviews.llvm.org/D142879

Files:
  llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
  llvm/lib/Target/RISCV/MCTargetDesc/RISCVFixupKinds.h
  llvm/test/MC/RISCV/fixups-expr-uleb128.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142879.507636.patch
Type: text/x-patch
Size: 6441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230323/5a882bf9/attachment.bin>


More information about the llvm-commits mailing list