xref: /original-bsd/lib/libc/vax/sys/sigreturn.s (revision 61b6c03f)
1/*
2 * Copyright (c) 1983 Regents of the University of California.
3 * All rights reserved.  The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 */
6
7#ifdef SYSLIBC_SCCS
8_sccsid:.asciz	"@(#)sigreturn.s	5.3 (Berkeley) 03/09/86"
9#endif SYSLIBC_SCCS
10
11#include "SYS.h"
12
13/*
14 * We must preserve the state of the registers as the user has set them up.
15 */
16#ifdef PROF
17#undef ENTRY
18#define	ENTRY(x) \
19	.globl _/**/x; .align 2; _/**/x: .word 0; pushr $0x3f; \
20	.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount; popr $0x3f
21#endif PROF
22
23SYSCALL(sigreturn)
24	ret
25