aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/freebsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/freebsd.h')
-rw-r--r--gcc/config/i386/freebsd.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h
index f209a151cf4..e0160b1e048 100644
--- a/gcc/config/i386/freebsd.h
+++ b/gcc/config/i386/freebsd.h
@@ -47,14 +47,8 @@ Boston, MA 02111-1307, USA. */
/* Tell final.c that we don't need a label passed to mcount. */
-#undef FUNCTION_PROFILER
-#define FUNCTION_PROFILER(FILE, LABELNO) \
-{ \
- if (flag_pic) \
- fprintf ((FILE), "\tcall *.mcount@GOT(%%ebx)\n"); \
- else \
- fprintf ((FILE), "\tcall .mcount\n"); \
-}
+#undef MCOUNT_NAME
+#define MCOUNT_NAME ".mcount"
/* Make gcc agree with <machine/ansi.h>. */