xref: /openbsd-src/lib/libc/arch/sh/sys/sigpending.S (revision 3f373d4115327011c7af514e278a1fc5ced933e6)
1*3f373d41Sguenther/*	$OpenBSD: sigpending.S,v 1.3 2015/09/10 13:29:09 guenther Exp $	*/
2cf252584Smiod/*	$NetBSD: sigpending.S,v 1.5 2003/08/07 16:42:05 agc Exp $	*/
3cf252584Smiod
4cf252584Smiod/*-
5cf252584Smiod * Copyright (c) 1990 The Regents of the University of California.
6cf252584Smiod * All rights reserved.
7cf252584Smiod *
8cf252584Smiod * Redistribution and use in source and binary forms, with or without
9cf252584Smiod * modification, are permitted provided that the following conditions
10cf252584Smiod * are met:
11cf252584Smiod * 1. Redistributions of source code must retain the above copyright
12cf252584Smiod *    notice, this list of conditions and the following disclaimer.
13cf252584Smiod * 2. Redistributions in binary form must reproduce the above copyright
14cf252584Smiod *    notice, this list of conditions and the following disclaimer in the
15cf252584Smiod *    documentation and/or other materials provided with the distribution.
16cf252584Smiod * 3. Neither the name of the University nor the names of its contributors
17cf252584Smiod *    may be used to endorse or promote products derived from this software
18cf252584Smiod *    without specific prior written permission.
19cf252584Smiod *
20cf252584Smiod * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21cf252584Smiod * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22cf252584Smiod * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23cf252584Smiod * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24cf252584Smiod * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25cf252584Smiod * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26cf252584Smiod * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27cf252584Smiod * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28cf252584Smiod * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29cf252584Smiod * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30cf252584Smiod * SUCH DAMAGE.
31cf252584Smiod *
32cf252584Smiod *	from: @(#)sigpending.s	5.1 (Berkeley) 7/1/90
33cf252584Smiod */
34cf252584Smiod
35cf252584Smiod#include "SYS.h"
36cf252584Smiod
37d9019253SjsgSYSCALL(sigpending)
38d9019253Sjsg	mov.l	r0, @r4		/* store returned mask */
39d9019253Sjsg	rts
40d9019253Sjsg	 mov	#0, r0
41*3f373d41SguentherSYSCALL_END(sigpending)
42