xref: /csrg-svn/lib/libc/vax/sys/sigreturn.s (revision 61222)
121884Sdist/*
2*61222Sbostic * Copyright (c) 1983, 1993
3*61222Sbostic *	The Regents of the University of California.  All rights reserved.
434391Sbostic *
542642Sbostic * %sccs.include.redist.c%
621884Sdist */
718291Smckusick
834391Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
9*61222Sbostic	.asciz "@(#)sigreturn.s	8.1 (Berkeley) 06/04/93"
1034391Sbostic#endif /* SYSLIBC_SCCS and not lint */
1121884Sdist
1218291Smckusick#include "SYS.h"
1318291Smckusick
1421089Smckusick/*
1521089Smckusick * We must preserve the state of the registers as the user has set them up.
1621089Smckusick */
1721089Smckusick#ifdef PROF
1821089Smckusick#undef ENTRY
1921089Smckusick#define	ENTRY(x) \
2021089Smckusick	.globl _/**/x; .align 2; _/**/x: .word 0; pushr $0x3f; \
2121089Smckusick	.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount; popr $0x3f
2221089Smckusick#endif PROF
2321089Smckusick
2418291SmckusickSYSCALL(sigreturn)
2518291Smckusick	ret
26