gcov: support GCC 7.1+
__gcov_exit() was added in GCC 7.1
@@ -57,6 +57,7 @@ void __gcov_merge_single(gcov_type *counters, unsigned int n_counters) __attrcon
void __gcov_merge_delta(gcov_type *counters, unsigned int n_counters) __attrconst;
void __gcov_merge_ior(gcov_type *counters, unsigned int n_counters) __attrconst;
void __gcov_merge_time_profile(gcov_type *counters, unsigned int n_counters) __attrconst;
+void __gcov_exit(void) __attrconst;
void __gcov_init(struct gcov_info* f)
{
@@ -130,3 +131,7 @@ void __gcov_merge_time_profile(gcov_type *counters, unsigned int n_counters)
(void)counters;
(void)n_counters;
}
+
+void __gcov_exit(void)
+{
+}
