summaryrefslogtreecommitdiffstats
path: root/extract-gcov.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-07-11 17:26:27 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-11 17:26:27 +1000
commite3e5a06c05c4391871c232e165e5e6098a377a15 (patch)
treea57680ee953f8144d7cb920fd9d29d1fe75f5bce /extract-gcov.c
parent5ed5d231c58eb9aa57a7680ab60c5b249bdea5d7 (diff)
downloadtalos-skiboot-e3e5a06c05c4391871c232e165e5e6098a377a15.tar.gz
talos-skiboot-e3e5a06c05c4391871c232e165e5e6098a377a15.zip
Fix GCOV_COUNTERS ifdef logic for GCC 6.0
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'extract-gcov.c')
-rw-r--r--extract-gcov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract-gcov.c b/extract-gcov.c
index a9298fad..3d31d1b5 100644
--- a/extract-gcov.c
+++ b/extract-gcov.c
@@ -33,7 +33,7 @@
typedef u32 gcov_unsigned_int;
/* You will need to pass -DTARGET__GNUC__=blah when building */
-#if TARGET__GNUC__ >= 5 && TARGET__GNUC_MINOR__ >= 1
+#if TARGET__GNUC__ >= 6 || (TARGET__GNUC__ >= 5 && TARGET__GNUC_MINOR__ >= 1)
#define GCOV_COUNTERS 10
#else
#if TARGET__GNUC__ >= 4 && TARGET__GNUC_MINOR__ >= 9
OpenPOWER on IntegriCloud