i386-protos.h (x86_function_profiler): New function
[gcc.git] / gcc / config / i386 / linux.h
index 54479d2c87f19511e660fdac19970b6524f30650..6b553cd4cb57bbe68e7cef6f2e93eeb4810b95a7 100644 (file)
@@ -53,14 +53,8 @@ Boston, MA 02111-1307, USA.  */
 
 #define NO_PROFILE_COUNTERS
 
-#undef FUNCTION_PROFILER
-#define FUNCTION_PROFILER(FILE, LABELNO)  \
-{                                                                      \
-  if (flag_pic)                                                                \
-    fprintf (FILE, "\tcall\t*mcount@GOT(%%ebx)\n");                    \
-  else                                                                 \
-    fprintf (FILE, "\tcall\tmcount\n");                                        \
-}
+#undef MCOUNT_NAME
+#define MCOUNT_NAME "mcount"
 
 /* The GLIBC version of mcount for the x86 assumes that there is a
    frame, so we cannot allow profiling without a frame pointer.  */