]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Use .so dynamic symbols for abi check
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Mon, 25 May 2020 06:18:46 +0000 (09:18 +0300)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 1 Jun 2020 21:38:20 +0000 (14:38 -0700)
commitfc7a8543e187c0d8aaf6996b3a5fd50bc6fa683d
tree7fe16a98c535f3cb14c784a444ef57cb61d69213
parentbdefaa0d36c4adadcd029eb8552571cd58e82aa9
libbpf: Use .so dynamic symbols for abi check

Since dynamic symbols are used for dynamic linking it makes sense to
use them (readelf --dyn-syms) for abi check.

Found with some configuration on powerpc where linker puts
local *.plt_call.* symbols into .so.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200525061846.16524-1-yauheni.kaliuta@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/Makefile