summaryrefslogtreecommitdiffstats
path: root/Documentation/bpf/index.rst
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-05-26 17:24:57 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2021-05-28 22:12:04 +0200
commitfc8c262e0eb5aa248af5051377e4ff3348841ac5 (patch)
tree8c704e6afdfcc4c36db912ff82a735ff15d94c26 /Documentation/bpf/index.rst
parentlibbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h (diff)
downloadlinux-fc8c262e0eb5aa248af5051377e4ff3348841ac5.tar.xz
linux-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 <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20210526152457.335210-1-yhs@fb.com
Diffstat (limited to 'Documentation/bpf/index.rst')
-rw-r--r--Documentation/bpf/index.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/bpf/index.rst b/Documentation/bpf/index.rst
index a702f67dd45f..93e8cf12a6d4 100644
--- a/Documentation/bpf/index.rst
+++ b/Documentation/bpf/index.rst
@@ -84,6 +84,7 @@ Other
:maxdepth: 1
ringbuf
+ llvm_reloc
.. Links:
.. _networking-filter: ../networking/filter.rst