[Skiboot] [PATCH 5/6] gcov: support GCC 7.1+
Stewart Smith
stewart at linux.vnet.ibm.com
Thu Aug 24 17:39:47 AEST 2017
__gcov_exit() was added in GCC 7.1
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
core/gcov-profiling.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/core/gcov-profiling.c b/core/gcov-profiling.c
index cf8b5096b0b9..70707011f154 100644
--- a/core/gcov-profiling.c
+++ b/core/gcov-profiling.c
@@ -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)
+{
+}
--
2.13.5
More information about the Skiboot
mailing list