[PATCH] D101336: [LLD][BPF] Add bpf support

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 25 11:25:40 PDT 2021


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

- https://reviews.llvm.org/D102712 made llvm BPF relocations more lld friendly. The patch has landed. Now redo the lld patch with new relocations.
- Per early Fangrui's suggestion, I submitted the following llvm relocation patch https://lore.kernel.org/bpf/20210525033314.3008878-1-yhs@fb.com/ to linux kernel mailing list and if accepted it will be in kernel bpf docs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101336

Files:
  lld/ELF/Arch/BPF.cpp
  lld/ELF/CMakeLists.txt
  lld/ELF/InputFiles.cpp
  lld/ELF/LTO.cpp
  lld/ELF/Target.cpp
  lld/ELF/Target.h
  lld/docs/index.rst
  lld/docs/ld.lld.1
  lld/test/ELF/bpf-basic.s
  lld/test/ELF/lto/bpf-diff-sec.ll
  lld/test/ELF/lto/bpf-same-sec.ll
  lld/test/lit.cfg.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101336.347734.patch
Type: text/x-patch
Size: 20456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210525/f63a49ab/attachment.bin>


More information about the llvm-commits mailing list