git: 2df4032d7e8c - stable/13 - linux(4): Fix stack unwinding across signal frame on x86_64

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Thu, 29 Jun 2023 08:20:47 UTC
The branch stable/13 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=2df4032d7e8c5bdd2a0f498771787fae6b358811

commit 2df4032d7e8c5bdd2a0f498771787fae6b358811
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-05-28 14:07:28 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-06-29 08:16:02 +0000

    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
    
    (cherry picked from commit 78c2e58fa5b0aa4518d79d8155c0513b9a04f531)
---
 sys/amd64/linux/linux_locore.asm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/amd64/linux/linux_locore.asm b/sys/amd64/linux/linux_locore.asm
index f26996980007..2d7dff839b6f 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 */