Skip to content

Commit bf7f15c

Browse files
willdeaconctmarinas
authored andcommitted
arm64: elf: Fix allnoconfig kernel build with !ARCH_USE_GNU_PROPERTY
Commit ab7876a ("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: ab7876a ("arm64: elf: Enable BTI at exec based on ELF program properties") Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
1 parent 383499f commit bf7f15c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ config ARM64
6464
select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE if !PREEMPTION
6565
select ARCH_KEEP_MEMBLOCK
6666
select ARCH_USE_CMPXCHG_LOCKREF
67-
select ARCH_USE_GNU_PROPERTY if BINFMT_ELF
67+
select ARCH_USE_GNU_PROPERTY
6868
select ARCH_USE_QUEUED_RWLOCKS
6969
select ARCH_USE_QUEUED_SPINLOCKS
7070
select ARCH_SUPPORTS_MEMORY_FAILURE

0 commit comments

Comments
 (0)