diff options
author | Alexei Starovoitov <ast@kernel.org> | 2024-03-15 05:18:32 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-03-16 00:24:00 +0300 |
commit | 10ebe835c937a11870690aa44c7c970fe906ff54 (patch) | |
tree | f790b75713a6d9845bf8e2cb9c6d4e489a794264 /tools/arch | |
parent | ee498a38f3177d9ee0213839d3a05b94272aa48c (diff) | |
download | linux-10ebe835c937a11870690aa44c7c970fe906ff54.tar.xz |
libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM
The selftests use
to tell LLVM about special pointers. For LLVM there is nothing "arena"
about them. They are simply pointers in a different address space.
Hence LLVM diff https://github.com/llvm/llvm-project/pull/85161 renamed:
. macro __BPF_FEATURE_ARENA_CAST -> __BPF_FEATURE_ADDR_SPACE_CAST
. global variables in __attribute__((address_space(N))) are now
placed in section named ".addr_space.N" instead of ".arena.N".
Adjust libbpf, bpftool, and selftests to match LLVM.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20240315021834.62988-3-alexei.starovoitov@gmail.com
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions