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

Approved by: re (amd64/* blanket)
This commit is contained in:
peter 2003-05-24 18:24:03 +00:00
parent 8b46771dce
commit a30b99096a

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)