141028Swilliam/*- 2*61135Sbostic * Copyright (c) 1990, 1993 3*61135Sbostic * The Regents of the University of California. All rights reserved. 441028Swilliam * 541028Swilliam * This code is derived from software contributed to Berkeley by 641028Swilliam * William Jolitz. 741028Swilliam * 841028Swilliam * %sccs.include.redist.c% 941028Swilliam */ 1041028Swilliam 1141028Swilliam#if defined(SYSLIBC_SCCS) && !defined(lint) 12*61135Sbostic .asciz "@(#)sigreturn.s 8.1 (Berkeley) 06/04/93" 1341028Swilliam#endif /* SYSLIBC_SCCS and not lint */ 1441028Swilliam 1541028Swilliam#include "SYS.h" 1641028Swilliam 1741028Swilliam/* 1841028Swilliam * We must preserve the state of the registers as the user has set them up. 1941028Swilliam */ 2041028Swilliam#ifdef PROF 2141028Swilliam#undef ENTRY 2241028Swilliam#define ENTRY(x) \ 2345828Swilliam .globl _/**/x; .align 2; _/**/x: pusha ; \ 2445828Swilliam .data; 1:; .long 0; .text; movl $1b,%eax; call mcount; popa ; nop 2541028Swilliam#endif /* PROF */ 2641028Swilliam 2741028SwilliamSYSCALL(sigreturn) 2841028Swilliam ret 29