diff options
| author | Yonghong Song <[email protected]> | 2021-05-26 15:24:57 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-05-28 20:12:04 +0000 |
| commit | fc8c262e0eb5aa248af5051377e4ff3348841ac5 (patch) | |
| tree | 8c704e6afdfcc4c36db912ff82a735ff15d94c26 /tools/lib/bpf/bpf_prog_linfo.c | |
| parent | libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h (diff) | |
| download | kernel-fc8c262e0eb5aa248af5051377e4ff3348841ac5.tar.gz kernel-fc8c262e0eb5aa248af5051377e4ff3348841ac5.zip | |
bpf, docs: Add llvm_reloc.rst to explain llvm bpf relocations
LLVM upstream commit https://reviews.llvm.org/D102712 made some changes
to bpf relocations to make them llvm linker lld friendly. The scope of
existing relocations R_BPF_64_{64,32} is narrowed and new relocations
R_BPF_64_{ABS32,ABS64,NODYLD32} are introduced.
Let us add some documentation about llvm bpf relocations so people can
understand how to resolve them properly in their respective tools.
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions
