[PATCH] D102712: BPF: Add more relocation kinds

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 21:27:48 PDT 2021


yonghong-song updated this revision to Diff 346626.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.

- rename R_BPF_64_D{32,64} to R_BPF_64_ABS{32,64} to better reflect the intention of relocation. *ABS{32,64} names have been used by arm, aarch64 and amdgpu.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102712

Files:
  llvm/include/llvm/BinaryFormat/ELFRelocs/BPF.def
  llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
  llvm/lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
  llvm/lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
  llvm/test/CodeGen/BPF/reloc-2.ll
  llvm/test/CodeGen/BPF/reloc-btf-2.ll
  llvm/test/CodeGen/BPF/reloc-btf.ll
  llvm/test/CodeGen/BPF/reloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102712.346626.patch
Type: text/x-patch
Size: 9423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210520/1d55a96d/attachment.bin>


More information about the llvm-commits mailing list