summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-04-23 11:13:45 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-04-23 14:05:27 -0700
commitf2644fb44de9abd54e57b55f584c7c67526f7c02 (patch)
tree1567fc448eb051723471dea24054880933689bf0 /Kbuild
parentb131aed910097a2eeac8180bf3cf214eea475d9a (diff)
downloadlinux-f2644fb44de9abd54e57b55f584c7c67526f7c02.tar.bz2
selftests/bpf: Add function linking selftest
Add selftest validating various aspects of statically linking functions: - no conflicts and correct resolution for name-conflicting static funcs; - correct resolution of extern functions; - correct handling of weak functions, both resolution itself and libbpf's handling of unused weak function that "lost" (it leaves gaps in code with no ELF symbols); - correct handling of hidden visibility to turn global function into "static" for the purpose of BPF verification. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210423181348.1801389-16-andrii@kernel.org
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions