libbpf: Extract ELF processing state into separate struct
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 21 Oct 2021 01:43:56 +0000 (18:43 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 22 Oct 2021 00:10:10 +0000 (17:10 -0700)
commit29a30ff501518a49282754909543cef1ef49e4bc
tree6dcc93ad752dc322a25300947d8292c0fa8c2c4e
parentb96c07f3b5ae6944eb52fd96a322340aa80aef5d
libbpf: Extract ELF processing state into separate struct

Name currently anonymous internal struct that keeps ELF-related state
for bpf_object. Just a bit of clean up, no functional changes.

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-3-andrii@kernel.org
tools/lib/bpf/libbpf.c