Commit 3bb56fa8 by Richard Stallman

(FUNCTION_PROFILER): Use mcount, not _mcount.

From-SVN: r2790
parent 70b8cd86
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
{ \ { \
fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%eax\n", \ fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%eax\n", \
LPREFIX, (LABELNO)); \ LPREFIX, (LABELNO)); \
fprintf (FILE, "\tcall *_mcount@GOT(%%ebx)\n"); \ fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
} \ } \
else \ else \
{ \ { \
fprintf (FILE, "\tmovl $%sP%d,%%eax\n", LPREFIX, (LABELNO)); \ fprintf (FILE, "\tmovl $%sP%d,%%eax\n", LPREFIX, (LABELNO)); \
fprintf (FILE, "\tcall _mcount\n"); \ fprintf (FILE, "\tcall mcount\n"); \
} \ } \
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment