selftests/bpf: Demonstrate use of custom .rodata/.data sections
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 21 Oct 2021 01:44:02 +0000 (18:44 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 22 Oct 2021 00:10:10 +0000 (17:10 -0700)
commit30c5bd96476ced0d3e08372be5186ff7f421d10c
tree8d83f25aac7e1a1d8c485228553b5e826ad6c331
parentaed659170a3171e425913ae259d46396fb9c10ef
selftests/bpf: Demonstrate use of custom .rodata/.data sections

Enhance existing selftests to demonstrate the use of custom
.data/.rodata sections.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20211021014404.2635234-9-andrii@kernel.org
tools/testing/selftests/bpf/prog_tests/skeleton.c
tools/testing/selftests/bpf/progs/test_skeleton.c