diff mbox series

kbuild: reword help of LD_DEAD_CODE_DATA_ELIMINATION

Message ID 1529772111-5780-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 8b9d27124094964b3c4f8985ba66355ac4d9e842
Headers show
Series kbuild: reword help of LD_DEAD_CODE_DATA_ELIMINATION | expand

Commit Message

Masahiro Yamada June 23, 2018, 4:41 p.m. UTC
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 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

-- 
2.7.4

Comments

Masahiro Yamada June 27, 2018, 4:41 p.m. UTC | #1
2018-06-24 1:41 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> 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>

> ---

>


Applied to linux-kbuild/fixes.

>  init/Kconfig | 7 +++----

>  1 file changed, 3 insertions(+), 4 deletions(-)

>

> diff --git a/init/Kconfig b/init/Kconfig

> index fde3d09..041f3a0 100644

> --- a/init/Kconfig

> +++ b/init/Kconfig

> @@ -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

> --

> 2.7.4

>

> --

> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in

> the body of a message to majordomo@vger.kernel.org

> More majordomo info at  http://vger.kernel.org/majordomo-info.html




-- 
Best Regards
Masahiro Yamada
diff mbox series

Patch

diff --git a/init/Kconfig b/init/Kconfig
index fde3d09..041f3a0 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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