[PATCH v2] asm goto: eradicate CC_HAS_ASM_GOTO
Ingo Molnar
mingo at kernel.org
Sun Aug 21 03:11:45 PDT 2022
* Nick Desaulniers <ndesaulniers at google.com> wrote:
> GCC has supported asm goto since 4.5, and Clang has since version 9.0.0.
> The minimum supported versions of these tools for the build according to
> Documentation/process/changes.rst are 5.1 and 11.0.0 respectively.
>
> Remove the feature detection script, Kconfig option, and clean up some
> fallback code that is no longer supported.
>
> The removed script was also testing for a GCC specific bug that was
> fixed in the 4.7 release.
>
> Also remove workarounds for bpftrace using clang older than 9.0.0, since
> other BPF backend fixes are required at this point.
>
> Link: https://lore.kernel.org/lkml/CAK7LNATSr=BXKfkdW8f-H5VT_w=xBpT2ZQcZ7rm6JfkdE+QnmA@mail.gmail.com/
> Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48637
> Acked-by: Borislav Petkov <bp at suse.de>
> Suggested-by: Masahiro Yamada <masahiroy at kernel.org>
> Suggested-by: Alexei Starovoitov <alexei.starovoitov at gmail.com>
> Signed-off-by: Nick Desaulniers <ndesaulniers at google.com>
Reviewed-by: Ingo Molnar <mingo at kernel.org>
Good riddance.
Thanks,
Ingo
More information about the linux-um
mailing list