We are using _mcount, not __mcount.
Remove the !__ELF__ case.
This commit is contained in:
parent
8476fd9ff7
commit
a40d2bb653
@ -88,13 +88,8 @@
|
|||||||
.text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x:
|
.text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x:
|
||||||
|
|
||||||
#ifdef GPROF
|
#ifdef GPROF
|
||||||
# ifdef __ELF__
|
|
||||||
# define _PROF_PROLOGUE \
|
# define _PROF_PROLOGUE \
|
||||||
mov ip, lr; bl __mcount
|
mov ip, lr; bl _mcount
|
||||||
# else
|
|
||||||
# define _PROF_PROLOGUE \
|
|
||||||
mov ip,lr; bl mcount
|
|
||||||
# endif
|
|
||||||
#else
|
#else
|
||||||
# define _PROF_PROLOGUE
|
# define _PROF_PROLOGUE
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user