Stop profiled libc from exploding, matching gcc's generated code.
Approved by: re (amd64/* blanket)
This commit is contained in:
parent
8b46771dce
commit
a30b99096a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user