From 3ebd9b48ce683666f2f94c004e14f7a545a27a01 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 24 May 2003 18:24:03 +0000 Subject: [PATCH] Stop profiled libc from exploding, matching gcc's generated code. Approved by: re (amd64/* blanket) --- sys/amd64/include/asm.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/amd64/include/asm.h b/sys/amd64/include/asm.h index d2984547d90..c2bfaeadd89 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)