This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Fox sparc*-*-linux build warnings...


Committed to mainline.

2008-05-16  David S. Miller  <davem@davemloft.net>

	* config/sparc/linux.h (NO_PROFILE_COUNTERS): Undef before
	overriding.
	* config/sparc/linux64.h (NO_PROFILE_COUNTERS): Likewise.

Index: config/sparc/linux.h
===================================================================
--- config/sparc/linux.h	(revision 135445)
+++ config/sparc/linux.h	(working copy)
@@ -177,4 +177,5 @@
 #define TARGET_ALTERNATE_LONG_DOUBLE_MANGLING
 
 /* We use glibc _mcount for profiling.  */
+#undef NO_PROFILE_COUNTERS
 #define NO_PROFILE_COUNTERS	1
Index: config/sparc/linux64.h
===================================================================
--- config/sparc/linux64.h	(revision 135445)
+++ config/sparc/linux64.h	(working copy)
@@ -311,4 +311,5 @@
 #define TARGET_ALTERNATE_LONG_DOUBLE_MANGLING
 
 /* We use glibc _mcount for profiling.  */
+#undef NO_PROFILE_COUNTERS
 #define NO_PROFILE_COUNTERS	1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]