We are using _mcount, not __mcount.

Remove the !__ELF__ case.
This commit is contained in:
Olivier Houchard 2004-09-23 22:26:29 +00:00
parent 8476fd9ff7
commit a40d2bb653

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