libbpf: Rename RELO_EXTERN_VAR/FUNC.
authorAlexei Starovoitov <ast@kernel.org>
Tue, 21 Mar 2023 20:38:51 +0000 (13:38 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 22 Mar 2023 16:31:05 +0000 (09:31 -0700)
commita18f721415b4d4edea23cb8c7d6276330302af14
tree42c000547411dacc11277b739aa86218964550d2
parent9a321fd3308e262f2a76761bea86dd0f311e3f86
libbpf: Rename RELO_EXTERN_VAR/FUNC.

RELO_EXTERN_VAR/FUNC names are not correct anymore. RELO_EXTERN_VAR represent
ksym symbol in ld_imm64 insn. It can point to kernel variable or kfunc.
Rename RELO_EXTERN_VAR->RELO_EXTERN_LD64 and RELO_EXTERN_FUNC->RELO_EXTERN_CALL
to match what they actually represent.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/bpf/20230321203854.3035-2-alexei.starovoitov@gmail.com
tools/lib/bpf/libbpf.c