mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Stop profiled libc from exploding, matching gcc's generated code.
Approved by: re (amd64/* blanket)
This commit is contained in:
parent
1012d9d76c
commit
3ebd9b48ce
1 changed files with 0 additions and 4 deletions
|
|
@ -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 a new issue