summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/asm.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-24 18:24:03 +0000
committerpeter <peter@FreeBSD.org>2003-05-24 18:24:03 +0000
commita30b99096aa9baff1de1c903ae6a8a41256f7839 (patch)
treef9c28d2b3f0a036c8410947eabebb3fd1e428bb6 /sys/amd64/include/asm.h
parent8b46771dce80e1cad1d05cd3550d395e617aa139 (diff)
downloadFreeBSD-src-a30b99096aa9baff1de1c903ae6a8a41256f7839.zip
FreeBSD-src-a30b99096aa9baff1de1c903ae6a8a41256f7839.tar.gz
Stop profiled libc from exploding, matching gcc's generated code.
Approved by: re (amd64/* blanket)
Diffstat (limited to 'sys/amd64/include/asm.h')
-rw-r--r--sys/amd64/include/asm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/amd64/include/asm.h b/sys/amd64/include/asm.h
index d298454..c2bfaea 100644
--- a/sys/amd64/include/asm.h
+++ b/sys/amd64/include/asm.h
@@ -68,14 +68,10 @@
#ifdef PROF
#define ALTENTRY(x) _ENTRY(x); \
- pushl %rbp; movl %rsp,%rbp; \
call PIC_PLT(HIDENAME(mcount)); \
- popl %rbp; \
jmp 9f
#define ENTRY(x) _ENTRY(x); \
- pushl %rbp; movl %rsp,%rbp; \
call PIC_PLT(HIDENAME(mcount)); \
- popl %rbp; \
9:
#else
#define ALTENTRY(x) _ENTRY(x)
OpenPOWER on IntegriCloud