OSDN Git Service

kbuild: reword help of LD_DEAD_CODE_DATA_ELIMINATION
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 23 Jun 2018 16:41:51 +0000 (01:41 +0900)
committer0ranko0P <ranko0p@outlook.com>
Sat, 7 Dec 2019 08:39:16 +0000 (16:39 +0800)
Since commit 5d20ee3192a5 ("kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION
to be selectable if enabled"), HAVE_LD_DEAD_CODE_DATA_ELIMINATION is
supposed to be selected by architectures that are capable of this
functionality.  LD_DEAD_CODE_DATA_ELIMINATION is now users' selection.
Update the help message.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
init/Kconfig

index cbb41a9..684bd01 100644 (file)
@@ -1473,10 +1473,9 @@ config LD_DEAD_CODE_DATA_ELIMINATION
        depends on HAVE_LD_DEAD_CODE_DATA_ELIMINATION
        depends on EXPERT
        help
-         Select this if the architecture wants to do dead code and
-         data elimination with the linker by compiling with
-         -ffunction-sections -fdata-sections, and linking with
-         --gc-sections.
+         Enable this if you want to do dead code and data elimination with
+         the linker by compiling with -ffunction-sections -fdata-sections,
+         and linking with --gc-sections.
 
          This can reduce on disk and in-memory size of the kernel
          code and static data, particularly for small configs and