mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 11:41:07 +00:00
(CALL_MCOUNT): Replace stub with real implementation.
This commit is contained in:
parent
7d39ca8849
commit
22a7aa47a3
@ -73,10 +73,10 @@
|
|||||||
|
|
||||||
/* If compiled for profiling, call `mcount' at the start of each function. */
|
/* If compiled for profiling, call `mcount' at the start of each function. */
|
||||||
#ifdef PROF
|
#ifdef PROF
|
||||||
/* The mcount code relies on a normal frame pointer being on the stack
|
#define CALL_MCOUNT \
|
||||||
to locate our caller, so push one just for its benefit. */
|
str lr,[sp, #-4]! \
|
||||||
#define CALL_MCOUNT \
|
bl PLTJMP(mcount) \
|
||||||
#error Profiling not supported.
|
ldr lr, [sp], #4
|
||||||
#else
|
#else
|
||||||
#define CALL_MCOUNT /* Do nothing. */
|
#define CALL_MCOUNT /* Do nothing. */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user