MIPS: Prevent link failure with kcov instrumentation
authorJouni Hogander <jouni.hogander@unikie.com>
Mon, 9 Dec 2019 12:37:07 +0000 (14:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jan 2020 18:45:54 +0000 (19:45 +0100)
commitbabf91acca033201ce29fdb2914ea1ee64c186e2
tree6194e4f89ef5e78d0af8094822d9d8f609d47642
parentac9951c4894ee3a6c2d8b1e110a95b1ab1e8625b
MIPS: Prevent link failure with kcov instrumentation

[ Upstream commit a4a3893114a41e365274d5fab5d9ff5acc235ff0 ]

__sanitizer_cov_trace_pc() is not linked in and causing link
failure if KCOV_INSTRUMENT is enabled. Fix this by disabling
instrumentation for compressed image.

Signed-off-by: Jouni Hogander <jouni.hogander@unikie.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/boot/compressed/Makefile