Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2023 08:20:47 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2df4032d7e8c - stable/13 - linux(4): Fix stack unwinding across signal frame on x86_64
Message-ID:  <202306290820.35T8Kl69085726@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306290820.35T8Kl69085726>