[PATCH] D101336: [LLD][BPF] Add bpf support
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 17 11:47:44 PDT 2021
yonghong-song updated this revision to Diff 345950.
yonghong-song added a comment.
- removed hack in InputSection.cpp to prevent emitting relocations for relocatable BPF.
- added two new target hooks to differentiate between ALLOC and non-ALLOC as BPF targets need them to take different actions.
- implement target relocate*() and getImplicitAddend*() properly.
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/InputSection.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.345950.patch
Type: text/x-patch
Size: 23454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210517/d242c0e2/attachment.bin>
More information about the llvm-commits
mailing list