Stop profiled libc from exploding, matching gcc's generated code.

Approved by: re (amd64/* blanket)
This commit is contained in:
Peter Wemm 2003-05-24 18:24:03 +00:00
parent 1012d9d76c
commit 3ebd9b48ce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115283

View File

@ -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)