2
0
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:
Oliver Kowalke
2025-12-27 17:25:36 +01:00
committed by GitHub

View File

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