shithub: scc

ref: bbe0d56677276a42a3061a3580b8b2b325b8f109
dir: /lib/c/target/amd64-sysv-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