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.
16 lines
497 B
ArmAsm
16 lines
497 B
ArmAsm
/* $NetBSD: compat_sigsuspend13.S,v 1.2 2011/01/15 07:31:13 matt Exp $ */
|
|
|
|
#include "SYS.h"
|
|
|
|
#if defined(LIBC_SCCS)
|
|
__RCSID("$NetBSD: compat_sigsuspend13.S,v 1.2 2011/01/15 07:31:13 matt Exp $")
|
|
#endif
|
|
|
|
WARN_REFERENCES(sigsuspend, \
|
|
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
|
|
|
|
ENTRY(sigsuspend)
|
|
lwz %r3,0(%r3) # indirect to mask arg
|
|
_DOSYSCALL(compat_13_sigsuspend13)
|
|
b _C_LABEL(__cerror) # always terminates with EINTR
|
|
END(sigsuspend)
|