arm64: elf: Fix allnoconfig kernel build with !ARCH_USE_GNU_PROPERTY
authorWill Deacon <will@kernel.org>
Wed, 18 Mar 2020 08:28:31 +0000 (08:28 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 18 Mar 2020 13:57:17 +0000 (13:57 +0000)
commitbf7f15c585d5b9b843e662aa78f9fc71037db968
tree1cffb9abaf0cc2f04bdd17c74b03795943464469
parent383499f8863ea8ce869ba62cec91d9f709c9459b
arm64: elf: Fix allnoconfig kernel build with !ARCH_USE_GNU_PROPERTY

Commit ab7876a98a21 ("arm64: elf: Enable BTI at exec based on ELF
program properties") introduced the conditional selection of
ARCH_USE_GNU_PROPERTY if BINFMT_ELF is enabled. With allnoconfig, this
option is no longer selected and the arm64 arch_parse_elf_property()
function clashes with the generic dummy implementation.

Link: http://lkml.kernel.org/r/20200318082830.GA31312@willie-the-truck
Fixes: ab7876a98a21 ("arm64: elf: Enable BTI at exec based on ELF program properties")
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig