xref: /original-bsd/lib/libc/vax/gen/abort.s (revision 2301fdfb)
1/*	abort.s	4.3	85/01/09	*/
2
3/* C library -- abort */
4
5#include "DEFS.h"
6
7ENTRY(abort, 0)
8	pushl	$-1
9	calls	$1,_sigblock	# sigblock(~0);
10	pushl	$0
11	pushl	$4
12	calls	$2,_signal	# signal(SIGILL, SIG_DFL);
13	pushl	$-9
14	calls	$1,_sigsetmask	# sigsetmask(~sigmask(SIGILL));
15	halt
16	clrl	r0
17	ret
18