gcov: support gcc 7.x
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Oct 2017 07:31:54 +0000 (09:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Oct 2017 07:31:54 +0000 (09:31 +0200)
commit8ba5f63d3afd59001c35b1494f0416131de439a4
treeb1580d3e7f39e4564464a7b1961369344f900650
parent4e3fb2fb47d6403f8411727eefe2b885c6ad514e
gcov: support gcc 7.x

Taking Linux commit 0538421343 ("gcov: support GCC 7.1") as reference,
enable gcc 7 support requiring __gcov_exit() and having 9 counters.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
xen/Kconfig.debug
xen/common/gcov/Makefile
xen/common/gcov/gcc_5.c
xen/common/gcov/gcc_7.c [new file with mode: 0644]
xen/common/gcov/gcov_base.c