mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31: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. */
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user