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]

[PATCH] NO_PROFILE_COUNTERS for FreeBSD/i386


Like Linux FreeBSD does not want the profile counters on the i386.
Permission to commit this patch please.

-- 
-- David  (obrien@FreeBSD.org)



Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.7900
diff -u -r1.7900 ChangeLog
--- ChangeLog	2000/10/01 05:29:12	1.7900
+++ ChangeLog	2000/10/01 08:32:09
@@ -1,3 +1,7 @@
+2000-10-01  David O'Brien  <obrien@dragon.nuxi.com>
+
+	* config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
+
 2000-09-30  Geoff Keating  <geoffk@cygnus.com>
 
 	* config/rs6000/rs6000.md (movsi_to_cr): Remove the USE.  Calculate
Index: config/i386/freebsd.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/freebsd.h,v
retrieving revision 1.23
diff -u -r1.23 freebsd.h
--- freebsd.h	2000/09/29 01:56:02	1.23
+++ freebsd.h	2000/10/01 08:32:09
@@ -52,6 +52,9 @@
 #undef DBX_REGISTER_NUMBER
 #define DBX_REGISTER_NUMBER(n)  svr4_dbx_register_map[n]
 
+#undef  NO_PROFILE_COUNTERS
+#define NO_PROFILE_COUNTERS
+
 /* Tell final.c that we don't need a label passed to mcount.  */
 
 #undef FUNCTION_PROFILER

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