Home | History | Annotate | Line # | Download | only in sys
compat_sigpending13.S revision 1.1
      1 /*	$NetBSD: compat_sigpending13.S,v 1.1 2006/02/18 00:21:28 matt Exp $	*/
      2 
      3 #include "SYS.h"
      4 
      5 WARN_REFERENCES(sigpending, \
      6     "warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
      7 
      8 ENTRY(sigpending)
      9 	mr	%r5,%r3			# save pointer
     10 	li	%r0,SYS_compat_13_sigpending13
     11 	sc				# sigpending()
     12 	bso	1f
     13 	stw	%r3,0(%r5)		# store return value
     14 	li	%r3,0			# and return 0
     15 	blr
     16 1:
     17 	b	PIC_PLT(_C_LABEL(__cerror))
     18