From 442954915b9f5ce61078640a321f404e38c42044 Mon Sep 17 00:00:00 2001
From: 4lDO2 <4lDO2@protonmail.com>
Date: Wed, 26 Jun 2024 17:06:03 +0200
Subject: [PATCH] Fix x86_64 spurious signal jump condition.

---
 redox-rt/src/arch/x86_64.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/redox-rt/src/arch/x86_64.rs b/redox-rt/src/arch/x86_64.rs
index 8ae3b50f..cf6b2dcb 100644
--- a/redox-rt/src/arch/x86_64.rs
+++ b/redox-rt/src/arch/x86_64.rs
@@ -148,7 +148,7 @@ asmfunction!(__relibc_internal_sigentry: ["
     and eax, edx
     and eax, {SIGW1_PENDING_MASK}
     bsf eax, eax
-    jnz 7f
+    jz 7f
     add eax, 32
 2:
     sub rsp, {REDZONE_SIZE}
-- 
GitLab