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

From: Nicholas Piggin
Date: Wed Nov 29 2017 - 21:10:49 EST


On Wed, 29 Nov 2017 15:44:38 -0800
Sami Tolvanen <samitolvanen@xxxxxxxxxx> 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@xxxxxxxxxx>

Fine by me, if you consider my other comments.

Reviewed-by: Nicholas Piggin <npiggin@xxxxxxxxx>