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:47:15 +0000 (19:47 +0100)
commit4c9544c0bd25609a0ebde5e22067d52d2fb26f7d
tree4f17997fd912a9c04734a0ce6bec60ba1f385c35
parent60af5786db7ebc2431a4f477da3e56b2cf2a8ca5
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