diff options
author | cognet <cognet@FreeBSD.org> | 2004-09-23 22:26:29 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-09-23 22:26:29 +0000 |
commit | 6198d361e4eea954992b5f5a21521573fcdeda24 (patch) | |
tree | efc736186875297b21480a4fbe0ec3aa197e9441 /sys/arm/include | |
parent | 2af9e90e1108a868b5495ebdec20a2eae97318b8 (diff) | |
download | FreeBSD-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.h | 7 |
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 |