Skip to contentSkip to conversation

Patch "gcov: add support for gcc version >= 6" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Aug 30, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

gcov: add support for gcc version >= 6

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
gcov-add-support-for-gcc-version-6.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From d02038f972538b93011d78c068f44514fbde0a8c Mon Sep 17 00:00:00 2001

From: Florian Meier <[email protected]>
Date: Thu, 14 Jul 2016 12:07:26 -0700
Subject: gcov: add support for gcc version >= 6

From: Florian Meier <[email protected]>

commit d02038f972538b93011d78c068f44514fbde0a8c upstream.

---
 kernel/gcov/gcc_4_7.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/gcov/gcc_4_7.c +1 -1
@@ -18,7 +18,7 @@
 #include <linux/vmalloc.h>
 #include "gcov.h"
 
-#if __GNUC__ == 5 && __GNUC_MINOR__ >= 1
+#if (__GNUC__ > 5) || (__GNUC__ == 5 && __GNUC_MINOR__ >= 1)
 #define GCOV_COUNTERS			10
 #elif __GNUC__ == 4 && __GNUC_MINOR__ >= 9
 #define GCOV_COUNTERS			9

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/gcov-add-support-for-gcc-version-6.patch