shithub: scc

ref: 2699bac1e5869e2ee92f588d8c91b3a7d19fbaf0
dir: /lib/crt/amd64-sysv-netbsd/crt.s/

View raw version
	.file	"crt.s"

	.section .note.netbsd.ident
	.long   7
	.long   4
	.long   1
	.ascii "NetBSD\0"
	.p2align 2
	.long      200000000

	.bss
environ:
	.quad	0

	.text
	.align	8
	.global	_start
_start:
	movq	16(%rbp),%rbx
	movq	%rbx,environ
	call	main
	movl    %eax,%edi
	jmp	exit