aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-05-24 18:24:03 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-05-24 18:24:03 +0000
commit3ebd9b48ce683666f2f94c004e14f7a545a27a01 (patch)
treef9c28d2b3f0a036c8410947eabebb3fd1e428bb6
parent1012d9d76cfcca9190723026f5647695daaf4ea1 (diff)
downloadsrc-3ebd9b48ce683666f2f94c004e14f7a545a27a01.tar.gz
src-3ebd9b48ce683666f2f94c004e14f7a545a27a01.zip
Stop profiled libc from exploding, matching gcc's generated code.
Approved by: re (amd64/* blanket)
Notes
Notes: svn path=/head/; revision=115283
-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 d2984547d908..c2bfaeadd894 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)