mirror of
https://github.com/boostorg/context.git
synced 2026-01-19 04:02:17 +00:00
Merge pull request #321 from vchigrin/develop
Add information to .eh_frame ELF secion about make_fcontext function.
This commit is contained in:
@@ -133,6 +133,8 @@ make_fcontext:
|
||||
ret /* return pointer to context-data */
|
||||
|
||||
trampoline:
|
||||
.cfi_startproc
|
||||
.cfi_undefined rip
|
||||
/* store return address on stack */
|
||||
/* fix stack alignment */
|
||||
_CET_ENDBR
|
||||
@@ -147,6 +149,7 @@ trampoline:
|
||||
#endif
|
||||
/* jump to context-function */
|
||||
jmp *%rbx
|
||||
.cfi_endproc
|
||||
|
||||
finish:
|
||||
_CET_ENDBR
|
||||
|
||||
Reference in New Issue
Block a user