diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-05-28 14:07:28 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-05-28 14:07:28 +0000 |
commit | 78c2e58fa5b0aa4518d79d8155c0513b9a04f531 (patch) | |
tree | a7d4062b9501b739a231348423d2fc5e540a0a41 | |
parent | 037b60fb0fbcb2dd6b6cbb632b05a2939ff4ff29 (diff) | |
download | src-78c2e58fa5b0aa4518d79d8155c0513b9a04f531.tar.gz src-78c2e58fa5b0aa4518d79d8155c0513b9a04f531.zip |
linux(4): Fix stack unwinding across signal frame on x86_64
Get rid of using register numbers which is undefined in libunwind
on x86_64.
Differential Revision: https://reviews.freebsd.org/D40156
MFC after: 1 month
-rw-r--r-- | sys/amd64/linux/linux_locore.asm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/linux/linux_locore.asm b/sys/amd64/linux/linux_locore.asm index 425b99de657a..5918fed2cad8 100644 --- a/sys/amd64/linux/linux_locore.asm +++ b/sys/amd64/linux/linux_locore.asm @@ -60,8 +60,6 @@ ENTRY(linux_rt_sigcode) .cfi_offset %rax, L_SC_RAX .cfi_offset %rcx, L_SC_RCX .cfi_offset %rip, L_SC_RIP - .cfi_offset 49, L_SC_RFLAGS - .cfi_offset %cs, L_SC_CS .cfi_offset %rsp, L_SC_RSP movq %rsp, %rbx /* rt_sigframe for rt_sigreturn */ |