Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 8c5fa3b

Browse files
npigginmpe
authored andcommitted
powerpc/64: Make ELFv2 the default for big-endian builds
All supported toolchains now support ELFv2 on big-endian, so flip the default on this and hide the option behind EXPERT for the purpose of bug hunting. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
1 parent 9d90161 commit 8c5fa3b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arch/powerpc/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,10 @@ config ARCH_HAS_KEXEC_PURGATORY
624624
def_bool KEXEC_FILE
625625

626626
config PPC64_BIG_ENDIAN_ELF_ABI_V2
627-
prompt "Build big-endian kernel using ELF ABI V2 (EXPERIMENTAL)" if LD_IS_BFD
628-
def_bool y if LD_IS_LLD
627+
# Option is available to BFD, but LLD does not support ELFv1 so this is
628+
# always true there.
629+
prompt "Build big-endian kernel using ELF ABI V2" if LD_IS_BFD && EXPERT
630+
def_bool y
629631
depends on PPC64 && CPU_BIG_ENDIAN
630632
depends on CC_HAS_ELFV2
631633
help

0 commit comments

Comments
 (0)