linux/kernel/gcov
Rickard x Andersson e96b95c2b7 gcov: add support for checksum field
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>
2022-12-21 14:31:52 -08: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-11-22 18:50:41 -08: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-21 14:31:52 -08: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
Kconfig gcov: Remove compiler version check 2021-12-02 17:25:21 +09:00
Makefile gcov: Remove old GCC 3.4 support 2020-04-16 12:28:35 +01:00