Skip to content

Commit

Permalink
kbuild: reword help of LD_DEAD_CODE_DATA_ELIMINATION
Browse files Browse the repository at this point in the history
Since commit 5d20ee3 ("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 <[email protected]>
  • Loading branch information
masahir0y committed Jun 28, 2018
1 parent ecd53ac commit 8b9d271
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1051,10 +1051,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
Expand Down

0 comments on commit 8b9d271

Please sign in to comment.