summaryrefslogtreecommitdiffstats
path: root/usr/klibc/arch/alpha/sigreturn.S
blob: a979b7a347e5cfd1666b9ecf67832d14d06f41df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * arch/alpha/sigreturn.S
 */

#include <machine/asm.h>
#include <asm/unistd.h>

	.text
	.align	3
	.type	__sigreturn,@function
	.ent	__sigreturn,0
	.globl	__sigreturn
__sigreturn:
	mov	sp,a0			# struct sigcontext on stack
	lda	v0,__NR_rt_sigreturn(zero)
	callsys
	.size	__sigreturn,.-__sigreturn
	.end	__sigreturn