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 */
|
ret /* return pointer to context-data */
|
||||||
|
|
||||||
trampoline:
|
trampoline:
|
||||||
|
.cfi_startproc
|
||||||
|
.cfi_undefined rip
|
||||||
/* store return address on stack */
|
/* store return address on stack */
|
||||||
/* fix stack alignment */
|
/* fix stack alignment */
|
||||||
_CET_ENDBR
|
_CET_ENDBR
|
||||||
@@ -147,6 +149,7 @@ trampoline:
|
|||||||
#endif
|
#endif
|
||||||
/* jump to context-function */
|
/* jump to context-function */
|
||||||
jmp *%rbx
|
jmp *%rbx
|
||||||
|
.cfi_endproc
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
_CET_ENDBR
|
_CET_ENDBR
|
||||||
|
|||||||
Reference in New Issue
Block a user