]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
libbpf: Fix ELF symbol visibility update logic
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 7 May 2021 05:41:17 +0000 (22:41 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 11 May 2021 22:07:17 +0000 (15:07 -0700)
commit247b8634e6446dbc8024685f803290501cba226f
treea7131ff55bee67aa9035b1517b9e89a0619fbedc
parent31332ccb756274c185cfd458b68b29a9371dceac
libbpf: Fix ELF symbol visibility update logic

Fix silly bug in updating ELF symbol's visibility.

Fixes: a46349227cd8 ("libbpf: Add linker extern resolution support for functions and global variables")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210507054119.270888-6-andrii@kernel.org
tools/lib/bpf/linker.c