libbpf: Remove gcc support for bpf_tail_call_static for now
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 9 Sep 2022 14:15:11 +0000 (16:15 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 9 Sep 2022 14:24:51 +0000 (16:24 +0200)
commit665f5d3577ef43e929d59cf39683037887c351bf
tree50c5fe3c5eb2ca005568d84e82c9e45fe7a8dac6
parentb239da34203f49c40b5d656220c39647c3ff0b3c
libbpf: Remove gcc support for bpf_tail_call_static for now

This reverts commit 14e5ce79943a ("libbpf: Add GCC support for
bpf_tail_call_static"). Reason is that gcc invented their own BPF asm
which is not conform with LLVM one, and going forward this would be
more painful to maintain here and in other areas of the library. Thus
remove it; ask to gcc folks is to align with LLVM one to use exact
same syntax.

Fixes: 14e5ce79943a ("libbpf: Add GCC support for bpf_tail_call_static")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: Jose E. Marchesi <jose.marchesi@oracle.com>
tools/lib/bpf/bpf_helpers.h