mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
treewide: drop outdated compiler version remarks in Kconfig help texts
As of writing, Documentation/Changes states the minimal versions of GNU C being 8.1, Clang being 15.0.0 and binutils being 2.30. A few Kconfig help texts are pointing out that specific GCC and Clang versions are needed, but by now, those pointers to versions, such later than 4.0, later than 4.4, or clang later than 5.0, are obsolete and unlikely to be found by users configuring their kernel builds anyway. Drop these outdated remarks in Kconfig help texts referring to older compiler and binutils versions. No functional change. Link: https://lkml.kernel.org/r/20251010082138.185752-1-lukas.bulwahn@redhat.com Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com> Cc: Bill Wendling <morbo@google.com> Cc: Justin Stitt <justinstitt@google.com> Cc: Nathan Chancellor <nathan@kernel.org> Cc: Russel King <linux@armlinux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
02582ac3b7
commit
cd4eaccc00
19
arch/Kconfig
19
arch/Kconfig
@ -232,17 +232,14 @@ config HAVE_EFFICIENT_UNALIGNED_ACCESS
|
|||||||
config ARCH_USE_BUILTIN_BSWAP
|
config ARCH_USE_BUILTIN_BSWAP
|
||||||
bool
|
bool
|
||||||
help
|
help
|
||||||
Modern versions of GCC (since 4.4) have builtin functions
|
GCC and Clang have builtin functions for handling byte-swapping.
|
||||||
for handling byte-swapping. Using these, instead of the old
|
Using these allows the compiler to see what's happening and
|
||||||
inline assembler that the architecture code provides in the
|
offers more opportunity for optimisation. In particular, the
|
||||||
__arch_bswapXX() macros, allows the compiler to see what's
|
compiler will be able to combine the byteswap with a nearby load
|
||||||
happening and offers more opportunity for optimisation. In
|
or store and use load-and-swap or store-and-swap instructions if
|
||||||
particular, the compiler will be able to combine the byteswap
|
the architecture has them. It should almost *never* result in code
|
||||||
with a nearby load or store and use load-and-swap or
|
which is worse than the hand-coded assembler in <asm/swab.h>.
|
||||||
store-and-swap instructions if the architecture has them. It
|
But just in case it does, the use of the builtins is optional.
|
||||||
should almost *never* result in code which is worse than the
|
|
||||||
hand-coded assembler in <asm/swab.h>. But just in case it
|
|
||||||
does, the use of the builtins is optional.
|
|
||||||
|
|
||||||
Any architecture with load-and-swap or store-and-swap
|
Any architecture with load-and-swap or store-and-swap
|
||||||
instructions should set this. And it shouldn't hurt to set it
|
instructions should set this. And it shouldn't hurt to set it
|
||||||
|
|||||||
@ -1161,8 +1161,6 @@ config AEABI
|
|||||||
disambiguate both ABIs and allow for backward compatibility support
|
disambiguate both ABIs and allow for backward compatibility support
|
||||||
(selected with CONFIG_OABI_COMPAT).
|
(selected with CONFIG_OABI_COMPAT).
|
||||||
|
|
||||||
To use this you need GCC version 4.0.0 or later.
|
|
||||||
|
|
||||||
config OABI_COMPAT
|
config OABI_COMPAT
|
||||||
bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
|
bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)"
|
||||||
depends on AEABI && !THUMB2_KERNEL
|
depends on AEABI && !THUMB2_KERNEL
|
||||||
|
|||||||
@ -332,8 +332,7 @@ config DEBUG_INFO_COMPRESSED_ZLIB
|
|||||||
depends on $(cc-option,-gz=zlib)
|
depends on $(cc-option,-gz=zlib)
|
||||||
depends on $(ld-option,--compress-debug-sections=zlib)
|
depends on $(ld-option,--compress-debug-sections=zlib)
|
||||||
help
|
help
|
||||||
Compress the debug information using zlib. Requires GCC 5.0+ or Clang
|
Compress the debug information using zlib.
|
||||||
5.0+, binutils 2.26+, and zlib.
|
|
||||||
|
|
||||||
Users of dpkg-deb via debian/rules may find an increase in
|
Users of dpkg-deb via debian/rules may find an increase in
|
||||||
size of their debug .deb packages with this config set, due to the
|
size of their debug .deb packages with this config set, due to the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user