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

stubs.
This commit is contained in:
peter 2004-06-10 22:02:26 +00:00
parent 0fe04edc1b
commit d7de00696f

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)