libbpf: clean up SEC() handling
authorAndrii Nakryiko <andrii@kernel.org>
Mon, 27 Jun 2022 21:15:24 +0000 (14:15 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 28 Jun 2022 20:13:33 +0000 (13:13 -0700)
commit450b167fb9be91a8164d3f3d734674f5fe95b22d
tree800cdadae698591226aabb8b8ad96c9703dc5e8e
parentcf90a20db878fddedefbdfeaff6695a0ee20f690
libbpf: clean up SEC() handling

Get rid of sloppy prefix logic and remove deprecated xdp_{devmap,cpumap}
sections.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220627211527.2245459-13-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf.c