diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-07-03 13:17:46 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-07-03 13:17:46 +0000 |
commit | 95334d4b9c945e2be188ea822dbf2ef23973cee6 (patch) | |
tree | 172e6fbe64379cd3d7a428bbcbecf24f2ed4736b /lib | |
parent | 6342b88461c562f24ce7c279219b6964390fee34 (diff) |
adapt the NetBSD code to make sigpending work on sh
ok miod@ kettenis@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/arch/sh/sys/sigpending.S | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/arch/sh/sys/sigpending.S b/lib/libc/arch/sh/sys/sigpending.S index 37965ac35c9..18b61b2e15a 100644 --- a/lib/libc/arch/sh/sys/sigpending.S +++ b/lib/libc/arch/sh/sys/sigpending.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigpending.S,v 1.1 2006/10/10 22:07:10 miod Exp $ */ +/* $OpenBSD: sigpending.S,v 1.2 2012/07/03 13:17:45 jsg Exp $ */ /* $NetBSD: sigpending.S,v 1.5 2003/08/07 16:42:05 agc Exp $ */ /*- @@ -34,4 +34,8 @@ #include "SYS.h" -RSYSCALL(sigpending) +SYSCALL(sigpending) + mov.l r0, @r4 /* store returned mask */ + rts + mov #0, r0 + |