Skip to content

Commit 639fa73

Browse files
authored
Merge pull request #321 from vchigrin/develop
Add information to .eh_frame ELF secion about make_fcontext function.
2 parents a53b9da + 2179688 commit 639fa73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/asm/make_x86_64_sysv_elf_gas.S

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ make_fcontext:
133133
ret /* return pointer to context-data */
134134

135135
trampoline:
136+
.cfi_startproc
137+
.cfi_undefined rip
136138
/* store return address on stack */
137139
/* fix stack alignment */
138140
_CET_ENDBR
@@ -147,6 +149,7 @@ trampoline:
147149
#endif
148150
/* jump to context-function */
149151
jmp *%rbx
152+
.cfi_endproc
150153

151154
finish:
152155
_CET_ENDBR

0 commit comments

Comments
 (0)