Commit | Line | Data |
---|---|---|
84062fce DF |
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 | #ifndef lint | |
7f0e38f0 | 8 | _sccsid:.asciz "@(#)sigreturn.s 5.2 (Berkeley) %G%" |
84062fce | 9 | #endif not lint |
3b558ce8 KM |
10 | |
11 | #include "SYS.h" | |
12 | ||
dbcac0a9 KM |
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 | ||
3b558ce8 KM |
23 | SYSCALL(sigreturn) |
24 | ret |