aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/linked_maps.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-04-23 11:13:46 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-04-23 14:05:27 -0700
commit14f1aae17ee13d08315873d4b68d573e91df892f (patch)
treef010365a15637827e8180abb3694c08c77ce335a /tools/testing/selftests/bpf/prog_tests/linked_maps.c
parentf2644fb44de9abd54e57b55f584c7c67526f7c02 (diff)
selftests/bpf: Add global variables linking selftest
Add selftest validating various aspects of statically linking global variables: - correct resolution of extern variables across .bss, .data, and .rodata sections; - correct handling of weak definitions; - correct de-duplication of repeating special externs (.kconfig, .ksyms). 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-17-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/linked_maps.c')
0 files changed, 0 insertions, 0 deletions