summaryrefslogtreecommitdiff
path: root/lib/libc/arch/powerpc/sys/sigsuspend.S
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1996-12-21 20:42:25 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1996-12-21 20:42:25 +0000
commit18bfa0d968e3c3bb24239eaf982fb33bb185bf19 (patch)
tree0e19e42e1017544442510644e798db671db46527 /lib/libc/arch/powerpc/sys/sigsuspend.S
parent3a2ca69baba476e6254a1a232cab2d0981b68db3 (diff)
Check-in of powerpc library support.
NOTE: This will not work until the other pieces are checked in. This is primarily the NetBSD powerpc port, with modifications to support ELF.
Diffstat (limited to 'lib/libc/arch/powerpc/sys/sigsuspend.S')
-rw-r--r--lib/libc/arch/powerpc/sys/sigsuspend.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/arch/powerpc/sys/sigsuspend.S b/lib/libc/arch/powerpc/sys/sigsuspend.S
new file mode 100644
index 00000000000..ea4c5ce33b9
--- /dev/null
+++ b/lib/libc/arch/powerpc/sys/sigsuspend.S
@@ -0,0 +1,9 @@
+/* int sigsuspend(int *mask) */
+
+#include "SYS.h"
+
+ .text
+PREFIX(sigsuspend)
+ lwz 3, 0(3) /* load the mask */
+ sc
+ SUFFIX