ARM: assembler: define a Kconfig symbol for group relocation support
authorArd Biesheuvel <ardb@kernel.org>
Mon, 24 Jan 2022 18:16:58 +0000 (19:16 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 24 Jan 2022 20:02:34 +0000 (21:02 +0100)
commitd6905849f87596f94c2778c8337697df486de43c
treed2a8e56084960b8cb369792e25b21b3eb7d4bd9f
parent8b806b82bc804ce8d254ea87d48eaa390451eac4
ARM: assembler: define a Kconfig symbol for group relocation support

Nathan reports the group relocations go out of range in pathological
cases such as allyesconfig kernels, which have little chance of actually
booting but are still used in validation.

So add a Kconfig symbol for this feature, and make it depend on
!COMPILE_TEST.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/Kconfig
arch/arm/include/asm/assembler.h
arch/arm/include/asm/current.h
arch/arm/include/asm/percpu.h
arch/arm/kernel/module.c