i386-protos.h (x86_function_profiler): New function
[gcc.git] / gcc / config / i386 / freebsd.h
index f209a151cf4d401b3a871bbcac85bd0b93649a7f..e0160b1e0480c7def4993d69dbcc66004e4b696b 100644 (file)
@@ -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>.  */