Argh. Add the mini-stack-frame back in for mcount's benefit for syscall
stubs.
This commit is contained in:
parent
6d05d7c75a
commit
a520047095
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130322
@ -64,10 +64,14 @@
|
||||
|
||||
#ifdef PROF
|
||||
#define ALTENTRY(x) _ENTRY(x); \
|
||||
pushq %rbp; movq %rsp,%rbp; \
|
||||
call PIC_PLT(HIDENAME(mcount)); \
|
||||
popq %rbp; \
|
||||
jmp 9f
|
||||
#define ENTRY(x) _ENTRY(x); \
|
||||
pushq %rbp; movq %rsp,%rbp; \
|
||||
call PIC_PLT(HIDENAME(mcount)); \
|
||||
popq %rbp; \
|
||||
9:
|
||||
#else
|
||||
#define ALTENTRY(x) _ENTRY(x)
|
||||
|
Loading…
Reference in New Issue
Block a user