WSL2-Linux-Kernel/kernel/gcov
Rickard x Andersson ca8bcb348a gcov: add support for checksum field
commit e96b95c2b7 upstream.

In GCC version 12.1 a checksum field was added.

This patch fixes a kernel crash occurring during boot when using
gcov-kernel with GCC version 12.2.  The crash occurred on a system running
on i.MX6SX.

Link: https://lkml.kernel.org/r/20221220102318.3418501-1-rickaran@axis.com
Fixes: 977ef30a7d ("gcov: support GCC 12.1 and newer compilers")
Signed-off-by: Rickard x Andersson <rickaran@axis.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Tested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: Martin Liska <mliska@suse.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-12-31 13:14:47 +01:00
..
Kconfig Kconfig: Introduce ARCH_WANTS_NO_INSTR and CC_HAS_NO_PROFILE_FN_ATTR 2021-06-22 11:07:18 -07:00
Makefile gcov: Remove old GCC 3.4 support 2020-04-16 12:28:35 +01:00
base.c gcov: combine common code 2021-05-07 00:26:32 -07:00
clang.c gcov: clang: fix the buffer overflow issue 2022-12-02 17:41:09 +01:00
fs.c gcov: use kvmalloc() 2021-05-07 00:26:32 -07:00
gcc_4_7.c gcov: add support for checksum field 2022-12-31 13:14:47 +01:00
gcc_base.c gcov: clang: move common GCC code into gcc_base.c 2019-05-14 19:52:51 -07:00
gcov.h gcov: combine common code 2021-05-07 00:26:32 -07:00