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: 977ef30a ("gcov: support GCC 12.1 and newer compilers") Signed-off-by: NRickard x Andersson <rickaran@axis.com> Reviewed-by: NPeter Oberparleiter <oberpar@linux.ibm.com> Tested-by: NPeter Oberparleiter <oberpar@linux.ibm.com> Reviewed-by: NMartin Liska <mliska@suse.cz> Cc: <stable@vger.kernel.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Showing
想要评论请 注册 或 登录