tools/llvm: Do not build with symbols
[minix3.git] / lib / libc / compat / arch / powerpc / sys / compat_sigpending13.S
blob27867cc304359bacffc04bb07d1aca12d4d14678
1 /*      $NetBSD: compat_sigpending13.S,v 1.3 2011/01/16 02:45:48 matt Exp $     */
3 #include "SYS.h"
5 #if defined(LIBC_SCCS)
6 __RCSID("$NetBSD: compat_sigpending13.S,v 1.3 2011/01/16 02:45:48 matt Exp $")
7 #endif
9 WARN_REFERENCES(sigpending, \
10     "warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
12 ENTRY(sigpending)
13         mr      %r5,%r3                         # save pointer
14         _DOSYSCALL(compat_13_sigpending13)      # sigpending()
15         bso     1f
16         stw     %r3,0(%r5)                      # store return value
17         li      %r3,0                           # and return 0
18         blr
20         b       _C_LABEL(__cerror)
21 END(sigpending)