mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Argh. Add the mini-stack-frame back in for mcount's benefit for syscall
stubs.
This commit is contained in:
parent
6d05d7c75a
commit
a520047095
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue