From: guenther Date: Mon, 28 Jul 2014 04:28:43 +0000 (+0000) Subject: _dl_sigprocmask() works better when it actually saves the returned sigmask X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cdc7ffe51ac2d2e8f601b7e426ba28df298e27fc;p=openbsd _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 --- 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: