Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <kees@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-3-635f3294e5f0@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>

+4 -7
+4 -7
arch/arm/Kconfig
··· 166 166 <http://www.arm.linux.org.uk/>. 167 167 168 168 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 172 170 help 173 171 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. 178 175 179 176 config ARM_DMA_USE_IOMMU 180 177 bool