Argh. Add the mini-stack-frame back in for mcount's benefit for syscall

stubs.
This commit is contained in:
Peter Wemm 2004-06-10 22:02:26 +00:00
parent 6d05d7c75a
commit a520047095
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130322

View File

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