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

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 10:01:48 PDT 2023


kito-cheng updated this revision to Diff 525235.
kito-cheng added a comment.

Changes:

- Rebase
- Add new option to control the relocation emition for ULEB128: -riscv-enable-uleb128
- Default disable to prevent potential incompatible issue with old binutils, will default turn on in future.


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.525235.patch
Type: text/x-patch
Size: 8728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230524/a495cfe2/attachment.bin>


More information about the llvm-commits mailing list