summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-09-24 18:21:04 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-09-24 19:55:17 +0000
commit7cd1f73b37ea0b8099ae42c49ee5318db9161913 (patch)
tree75faec314965663f0f6c82f918eebeadf8379d04 /include/linux
parentce5cbbef271efd5968e8027ffefddb3246e9bc29 (diff)
downloadlinux-7cd1f73b37ea0b8099ae42c49ee5318db9161913.tar.gz
linux-7cd1f73b37ea0b8099ae42c49ee5318db9161913.zip
selftests/bpf: Fix build of callx tests with GCC
GCC doesn't support indirect calls in BPF: progs/verifier_callx.c: In function 'apply_op': progs/verifier_callx.c:977:1: error: indirect call in function, which are not supported by eBPF progs/verifier_callx_rodata.c: In function 'use_shape': progs/verifier_callx_rodata.c:746:1: error: indirect call in function, which are not supported by eBPF Build verifier_callx, verifier_callx_rodata and callx_rodata progs with clang only. Skip callx_rodata_lskel test when progs are built with GCC. Fixes: e9b22d50796d ("selftests/bpf: Add tests for callx") Fixes: b018e998e645 ("selftests/bpf: Add tests for callx through pointers in read-only data") Signed-off-by: Alexei Starovoitov <ast@kernel.org> Tested-by: Ihor Solodrai <ihor.solodrai@linux.dev> Link: https://patch.msgid.link/20260924182104.261823-1-alexei.starovoitov@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions