mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	gcov: add support for gcc version >= 6
Link: http://lkml.kernel.org/r/20160701130914.GA23225@styxhp Signed-off-by: Florian Meier <Florian.Meier@informatik.uni-erlangen.de> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Tested-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									ef70b6f41c
								
							
						
					
					
						commit
						d02038f972
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
#include <linux/vmalloc.h>
 | 
					#include <linux/vmalloc.h>
 | 
				
			||||||
#include "gcov.h"
 | 
					#include "gcov.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if __GNUC__ == 5 && __GNUC_MINOR__ >= 1
 | 
					#if (__GNUC__ > 5) || (__GNUC__ == 5 && __GNUC_MINOR__ >= 1)
 | 
				
			||||||
#define GCOV_COUNTERS			10
 | 
					#define GCOV_COUNTERS			10
 | 
				
			||||||
#elif __GNUC__ == 4 && __GNUC_MINOR__ >= 9
 | 
					#elif __GNUC__ == 4 && __GNUC_MINOR__ >= 9
 | 
				
			||||||
#define GCOV_COUNTERS			9
 | 
					#define GCOV_COUNTERS			9
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue