From cdc7ffe51ac2d2e8f601b7e426ba28df298e27fc Mon Sep 17 00:00:00 2001 From: guenther Date: Mon, 28 Jul 2014 04:28:43 +0000 Subject: [PATCH] _dl_sigprocmask() works better when it actually saves the returned sigmask asm suggestion from kettenis@ tested by miod@, suffering under the brain-destroying summer heat --- libexec/ld.so/alpha/ldasm.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libexec/ld.so/alpha/ldasm.S b/libexec/ld.so/alpha/ldasm.S index 927b79a7b04..4448cd4a228 100644 --- a/libexec/ld.so/alpha/ldasm.S +++ b/libexec/ld.so/alpha/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.27 2014/07/14 03:54:50 deraadt Exp $ */ +/* $OpenBSD: ldasm.S,v 1.28 2014/07/28 04:28:43 guenther Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -243,6 +243,7 @@ LEAF_NOPROFILE(_dl_sigprocmask, 4) CALLSYS_NOERROR(sigprocmask) beq a3, 1f jmp zero, _dl_cerror +1: beq a5, 1f stl v0, 0(a5) 1: -- 2.20.1