kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectable if enabled
authorNicholas Piggin <npiggin@gmail.com>
Wed, 9 May 2018 13:00:00 +0000 (23:00 +1000)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 17 May 2018 13:45:01 +0000 (22:45 +0900)
commit5d20ee3192a58750ef8cc24b21aad23a82689be0
tree7a91f8a8ee8ab7126f6d36bad1b0b121746a60c3
parent6ca8d9433d7712d4c3c6102816b685470504dc3d
kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectable if enabled

Architectures that are capable can select
HAVE_LD_DEAD_CODE_DATA_ELIMINATION to enable selection of that
option (as an EXPERT kernel option).

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/Kconfig
init/Kconfig