Skip to content

Commit 02aba26

Browse files
committed
ARM: Clean up definition of ARM_HAS_GROUP_RELOCS
Now that the minimum supported version of LLVM for building the kernel has been bumped to 15.0.0, the first depends line of ARM_HAS_GROUP_RELOCS is always true, so it can be safely removed. Combine the !COMPILE_TEST dependency into the 'def_bool' line and update the comment as well. Reviewed-by: Kees Cook <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 65aebf6 commit 02aba26

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

arch/arm/Kconfig

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,12 @@ config ARM
166166
<http://www.arm.linux.org.uk/>.
167167

168168
config ARM_HAS_GROUP_RELOCS
169-
def_bool y
170-
depends on !LD_IS_LLD || LLD_VERSION >= 140000
171-
depends on !COMPILE_TEST
169+
def_bool !COMPILE_TEST
172170
help
173171
Whether or not to use R_ARM_ALU_PC_Gn or R_ARM_LDR_PC_Gn group
174-
relocations, which have been around for a long time, but were not
175-
supported in LLD until version 14. The combined range is -/+ 256 MiB,
176-
which is usually sufficient, but not for allyesconfig, so we disable
177-
this feature when doing compile testing.
172+
relocations. The combined range is -/+ 256 MiB, which is usually
173+
sufficient, but not for allyesconfig, so we disable this feature
174+
when doing compile testing.
178175

179176
config ARM_DMA_USE_IOMMU
180177
bool

0 commit comments

Comments
 (0)