From: kettenis Date: Tue, 4 May 2021 19:02:52 +0000 (+0000) Subject: sigpending(2) will never fail. Optimize the syscall stub accordingly like X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c3e57ce1a9bef37ec8ff5fc82362bfd3a0573a2e;p=openbsd sigpending(2) will never fail. Optimize the syscall stub accordingly like we do on other architectures. ok mpi@ --- diff --git a/lib/libc/arch/aarch64/sys/sigpending.S b/lib/libc/arch/aarch64/sys/sigpending.S index c532274f79c..abbb862c481 100644 --- a/lib/libc/arch/aarch64/sys/sigpending.S +++ b/lib/libc/arch/aarch64/sys/sigpending.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigpending.S,v 1.3 2018/08/12 17:15:10 mortimer Exp $ */ +/* $OpenBSD: sigpending.S,v 1.4 2021/05/04 19:02:52 kettenis Exp $ */ /* $NetBSD: sigpending.S,v 1.5 2003/08/07 16:42:05 agc Exp $ */ /*- @@ -38,7 +38,6 @@ SYSENTRY(sigpending) RETGUARD_SETUP(sigpending, x15) mov x2, x0 SYSTRAP(sigpending) - bcs CERROR str w0, [x2] mov x0, #0 RETGUARD_CHECK(sigpending, x15)