Re: [PATCH] ARM: linker script: GCOV kernel may refers data in __exit

2018-09-11 Thread Masami Hiramatsu
Hi, Please drop it, since Peter's patch fixes this problem better way. https://lkml.org/lkml/2018/9/6/403 Thank you, On Sat, 1 Sep 2018 21:38:13 +0900 Masami Hiramatsu wrote: > GCOV kernel embeds counters in the kernel for each line > and a part of that embed in __exit text. So we need to >

[PATCH] ARM: linker script: GCOV kernel may refers data in __exit

2018-09-01 Thread Masami Hiramatsu
GCOV kernel embeds counters in the kernel for each line and a part of that embed in __exit text. So we need to keep the __exit text if CONFIG_GCOV_KERNEL=y. Without this patch, if we discards __exit text (e.g. disables CONFIG_GENERIC_BUG, CONFIG_JUMP_LABEL and CONFIG_SMP_ON_UP) but enables CONFIG_