Commit 8b9d2712 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: reword help of LD_DEAD_CODE_DATA_ELIMINATION

Since commit 5d20ee31 ("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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent ecd53ac2
...@@ -1051,10 +1051,9 @@ config LD_DEAD_CODE_DATA_ELIMINATION ...@@ -1051,10 +1051,9 @@ config LD_DEAD_CODE_DATA_ELIMINATION
depends on HAVE_LD_DEAD_CODE_DATA_ELIMINATION depends on HAVE_LD_DEAD_CODE_DATA_ELIMINATION
depends on EXPERT depends on EXPERT
help help
Select this if the architecture wants to do dead code and Enable this if you want to do dead code and data elimination with
data elimination with the linker by compiling with the linker by compiling with -ffunction-sections -fdata-sections,
-ffunction-sections -fdata-sections, and linking with and linking with --gc-sections.
--gc-sections.
This can reduce on disk and in-memory size of the kernel This can reduce on disk and in-memory size of the kernel
code and static data, particularly for small configs and code and static data, particularly for small configs and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment