From a30b99096aa9baff1de1c903ae6a8a41256f7839 Mon Sep 17 00:00:00 2001 From: peter 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 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)