1998-12-02 04:01:03 +03:00
|
|
|
/* $NetBSD: sigpending.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $ */
|
1997-03-29 23:55:50 +03:00
|
|
|
|
|
|
|
#include "SYS.h"
|
|
|
|
|
1998-12-02 04:01:03 +03:00
|
|
|
WARN_REFERENCES(sigpending, \
|
|
|
|
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
|
|
|
|
|
1997-03-29 23:55:50 +03:00
|
|
|
ENTRY(sigpending)
|
|
|
|
mr 5,3 # save pointer
|
1998-10-03 16:30:37 +04:00
|
|
|
li 0,SYS_compat_13_sigpending13
|
1997-03-29 23:55:50 +03:00
|
|
|
sc # sigpending()
|
|
|
|
bso 1f
|
|
|
|
stw 3,0(5) # store return value
|
|
|
|
li 3,0 # and return 0
|
|
|
|
blr
|
|
|
|
1:
|
1998-11-24 14:14:54 +03:00
|
|
|
b PIC_PLT(_ASM_LABEL(cerror))
|