summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-09-23 22:26:29 +0000
committercognet <cognet@FreeBSD.org>2004-09-23 22:26:29 +0000
commit6198d361e4eea954992b5f5a21521573fcdeda24 (patch)
treeefc736186875297b21480a4fbe0ec3aa197e9441 /sys/arm/include
parent2af9e90e1108a868b5495ebdec20a2eae97318b8 (diff)
downloadFreeBSD-src-6198d361e4eea954992b5f5a21521573fcdeda24.zip
FreeBSD-src-6198d361e4eea954992b5f5a21521573fcdeda24.tar.gz
We are using _mcount, not __mcount.
Remove the !__ELF__ case.
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/asm.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arm/include/asm.h b/sys/arm/include/asm.h
index dc1dd7e..31ab40b 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
OpenPOWER on IntegriCloud