NetBSD/lib/libc/arch/powerpc/sys/sigpending.S

15 lines
291 B
ArmAsm
Raw Normal View History

1998-11-24 14:14:54 +03:00
/* $NetBSD: sigpending.S,v 1.5 1998/11/24 11:14:57 tsubai Exp $ */
#include "SYS.h"
ENTRY(sigpending)
mr 5,3 # save pointer
1998-10-03 16:30:37 +04:00
li 0,SYS_compat_13_sigpending13
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))