]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: Clean up definition of ARM_HAS_GROUP_RELOCS
authorNathan Chancellor <nathan@kernel.org>
Thu, 21 Aug 2025 21:15:40 +0000 (14:15 -0700)
committerNathan Chancellor <nathan@kernel.org>
Thu, 28 Aug 2025 23:58:43 +0000 (16:58 -0700)
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>
arch/arm/Kconfig

index b1f3df39ed4068f215a3460d5c4e021136438eaa..faf83015b9618ff96476180924b57bc2847366df 100644 (file)
@@ -166,15 +166,12 @@ config ARM
          <http://www.arm.linux.org.uk/>.
 
 config ARM_HAS_GROUP_RELOCS
-       def_bool y
-       depends on !LD_IS_LLD || LLD_VERSION >= 140000
-       depends on !COMPILE_TEST
+       def_bool !COMPILE_TEST
        help
          Whether or not to use R_ARM_ALU_PC_Gn or R_ARM_LDR_PC_Gn group
-         relocations, which have been around for a long time, but were not
-         supported in LLD until version 14. The combined range is -/+ 256 MiB,
-         which is usually sufficient, but not for allyesconfig, so we disable
-         this feature when doing compile testing.
+         relocations. The combined range is -/+ 256 MiB, which is usually
+         sufficient, but not for allyesconfig, so we disable this feature
+         when doing compile testing.
 
 config ARM_DMA_USE_IOMMU
        bool