]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, libbpf: refactor relocation handling
authorJoe Stringer <joe@wand.net.nz>
Tue, 9 Apr 2019 21:20:12 +0000 (23:20 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Apr 2019 00:05:47 +0000 (17:05 -0700)
commitf4ac6eb57f8bd92f322b9793f55a6795a6d85e01
treef643fcbccc25920dbf793f66f946d9f8b10c29b6
parent514a146e54a283aacb943d90e94455391aeb973d
bpf, libbpf: refactor relocation handling

Adjust the code for relocations slightly with no functional changes,
so that upcoming patches that will introduce support for relocations
into the .data, .rodata and .bss sections can be added independent
of these changes.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf.c