Skip to content

Commit 9186ad8

Browse files
samitolvanenkees
authored andcommitted
arm64: allow CONFIG_CFI_CLANG to be selected
Select ARCH_SUPPORTS_CFI_CLANG to allow CFI to be enabled. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Reviewed-by: Kees Cook <keescook@chromium.org> Tested-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210408182843.1754385-19-samitolvanen@google.com
1 parent 67dfd72 commit 9186ad8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ config ARM64
7575
select ARCH_SUPPORTS_SHADOW_CALL_STACK if CC_HAVE_SHADOW_CALL_STACK
7676
select ARCH_SUPPORTS_LTO_CLANG if CPU_LITTLE_ENDIAN
7777
select ARCH_SUPPORTS_LTO_CLANG_THIN
78+
select ARCH_SUPPORTS_CFI_CLANG
7879
select ARCH_SUPPORTS_ATOMIC_RMW
7980
select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 && (GCC_VERSION >= 50000 || CC_IS_CLANG)
8081
select ARCH_SUPPORTS_NUMA_BALANCING

0 commit comments

Comments
 (0)