b6cbf7203b
This patch imports the unmodified current version of NetBSD libc. The NetBSD includes are in /nbsd_include, while the libc code itself is split between lib/nbsd_libc and common/lib/libc.
21 lines
553 B
ArmAsm
21 lines
553 B
ArmAsm
/* $NetBSD: compat_sigpending13.S,v 1.3 2011/01/16 02:45:48 matt Exp $ */
|
|
|
|
#include "SYS.h"
|
|
|
|
#if defined(LIBC_SCCS)
|
|
__RCSID("$NetBSD: compat_sigpending13.S,v 1.3 2011/01/16 02:45:48 matt Exp $")
|
|
#endif
|
|
|
|
WARN_REFERENCES(sigpending, \
|
|
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
|
|
|
|
ENTRY(sigpending)
|
|
mr %r5,%r3 # save pointer
|
|
_DOSYSCALL(compat_13_sigpending13) # sigpending()
|
|
bso 1f
|
|
stw %r3,0(%r5) # store return value
|
|
li %r3,0 # and return 0
|
|
blr
|
|
1:
|
|
b _C_LABEL(__cerror)
|
|
END(sigpending)
|