This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] NO_PROFILE_COUNTERS for FreeBSD/i386
- To: gcc-patches at gcc dot gnu dot org
- Subject: [PATCH] NO_PROFILE_COUNTERS for FreeBSD/i386
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Sun, 1 Oct 2000 01:33:43 -0700
- Organization: The NUXI BSD group
- Reply-To: obrien at FreeBSD dot org
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