gcov: add support for checksum field
commit e96b95c2 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: 977ef30a ("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>
parent
f36d8c86
Please register or sign in to comment