• Daniel Borkmann's avatar
    libbpf: Remove gcc support for bpf_tail_call_static for now · 665f5d35
    Daniel Borkmann authored
    This reverts commit 14e5ce79 ("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: 14e5ce79 ("libbpf: Add GCC support for bpf_tail_call_static")
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    Cc: James Hilliard <james.hilliard1@gmail.com>
    Cc: Jose E. Marchesi <jose.marchesi@oracle.com>
    665f5d35
bpf_helpers.h 9.96 KB