[PATCH 0/3] cfi: Use __builtin_function_start
From: Sami Tolvanen
Date: Fri Apr 01 2022 - 16:22:08 EST
Clang 14 introduced the __builtin_function_start intrinsic, which
makes it possible to cleanly implement the function_nocfi() macro in a
way that also works with static initializers. Add a default
function_nocfi() implementation and drop the arm64 inline assembly
version.
Sami Tolvanen (3):
kbuild: Change CFI_CLANG to depend on __builtin_function_start
linux/compiler-clang.h: define function_nocfi
arm64: Drop the inline assembly implementation of function_nocfi
arch/Kconfig | 5 +----
arch/arm64/include/asm/compiler.h | 16 ----------------
include/linux/compiler-clang.h | 10 ++++++++++
init/Kconfig | 3 +++
4 files changed, 14 insertions(+), 20 deletions(-)
--
2.35.0