shithub: scc

ref: 61d8ab34d1ccd7ffdc3fd0e3fe73bf1a87bf0af6
dir: /src/libc/arch/amd64/netbsd/_setcontext.s/

View raw version

	.text
	.globl	_Exit
	.globl	_setcontext

_setcontext:
	movq	%r15,%rdi
	movq	$0x134,%rax
	syscall

	# Something was wrong, finish the program. We can't call
	# abort here because it could generate a loop
	movq	$-1,%rdi
	jmp	_Exit