xref: /original-bsd/lib/libc/vax/sys/sigreturn.s (revision 69c8e3e7)
1/*
2 * Copyright (c) 1983, 1993
3 *	The Regents of the University of California.  All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 */
7
8#if defined(SYSLIBC_SCCS) && !defined(lint)
9	.asciz "@(#)sigreturn.s	8.1 (Berkeley) 06/04/93"
10#endif /* SYSLIBC_SCCS and not lint */
11
12#include "SYS.h"
13
14/*
15 * We must preserve the state of the registers as the user has set them up.
16 */
17#ifdef PROF
18#undef ENTRY
19#define	ENTRY(x) \
20	.globl _/**/x; .align 2; _/**/x: .word 0; pushr $0x3f; \
21	.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount; popr $0x3f
22#endif PROF
23
24SYSCALL(sigreturn)
25	ret
26