From a40d2bb653d25c233d6835b8276dbae292083b85 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 23 Sep 2004 22:26:29 +0000 Subject: [PATCH] We are using _mcount, not __mcount. Remove the !__ELF__ case. --- sys/arm/include/asm.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sys/arm/include/asm.h b/sys/arm/include/asm.h index dc1dd7e1e44..31ab40bff75 100644 --- a/sys/arm/include/asm.h +++ b/sys/arm/include/asm.h @@ -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