projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31d793
)
arm64: allow LTO to be selected
author
Sami Tolvanen
<samitolvanen@google.com>
Fri, 11 Dec 2020 18:46:33 +0000
(10:46 -0800)
committer
Kees Cook
<keescook@chromium.org>
Thu, 14 Jan 2021 16:21:10 +0000
(08:21 -0800)
Allow CONFIG_LTO_CLANG to be enabled.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link:
https://lore.kernel.org/r/20201211184633.3213045-17-samitolvanen@google.com
arch/arm64/Kconfig
patch
|
blob
|
history
diff --git
a/arch/arm64/Kconfig
b/arch/arm64/Kconfig
index d644d975eddbf49899ba25ab6fd88b81adc4cc2b..2d3f6d9678224c82b76963b63c11405770cdb706 100644
(file)
--- a/
arch/arm64/Kconfig
+++ b/
arch/arm64/Kconfig
@@
-73,6
+73,8
@@
config ARM64
select ARCH_SUPPORTS_DEBUG_PAGEALLOC
select ARCH_SUPPORTS_MEMORY_FAILURE
select ARCH_SUPPORTS_SHADOW_CALL_STACK if CC_HAVE_SHADOW_CALL_STACK
+ select ARCH_SUPPORTS_LTO_CLANG if CPU_LITTLE_ENDIAN
+ select ARCH_SUPPORTS_LTO_CLANG_THIN
select ARCH_SUPPORTS_ATOMIC_RMW
select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 && (GCC_VERSION >= 50000 || CC_IS_CLANG)
select ARCH_SUPPORTS_NUMA_BALANCING