We are using _mcount, not __mcount.

Remove the !__ELF__ case.
This commit is contained in:
cognet 2004-09-23 22:26:29 +00:00
parent 2af9e90e11
commit 6198d361e4

View File

@ -88,13 +88,8 @@
.text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x:
#ifdef GPROF
# ifdef __ELF__
# define _PROF_PROLOGUE \
mov ip, lr; bl __mcount
# else
# define _PROF_PROLOGUE \
mov ip,lr; bl mcount
# endif
mov ip, lr; bl _mcount
#else
# define _PROF_PROLOGUE
#endif