[PATCH 3/7] kbuild: fix LD_DEAD_CODE_DATA_ELIMINATION with GNU gold

Nicholas Piggin npiggin at gmail.com
Wed Nov 29 18:10:29 PST 2017


On Wed, 29 Nov 2017 15:44:38 -0800
Sami Tolvanen <samitolvanen at google.com> wrote:

> Don't remove .head.text or .exitcall.exit when linking with --gc-sections,
> and include .init.text.* in .init.text and .init.rodata.* in .init.rodata.
> 
> Signed-off-by: Sami Tolvanen <samitolvanen at google.com>

Fine by me, if you consider my other comments.

Reviewed-by: Nicholas Piggin <npiggin at gmail.com>



More information about the linux-arm-kernel mailing list