(CALL_MCOUNT): Replace stub with real implementation.

This commit is contained in:
Ulrich Drepper 1998-07-27 17:52:15 +00:00
parent 7d39ca8849
commit 22a7aa47a3

View File

@ -73,10 +73,10 @@
/* If compiled for profiling, call `mcount' at the start of each function. */
#ifdef PROF
/* The mcount code relies on a normal frame pointer being on the stack
to locate our caller, so push one just for its benefit. */
#define CALL_MCOUNT \
#error Profiling not supported.
#define CALL_MCOUNT \
str lr,[sp, #-4]! \
bl PLTJMP(mcount) \
ldr lr, [sp], #4
#else
#define CALL_MCOUNT /* Do nothing. */
#endif