1// Copyright 2010 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5#include "textflag.h"
6
7TEXT _rt0_386_plan9(SB),NOSPLIT,$12
8	MOVL	AX, _tos(SB)
9	LEAL	8(SP), AX
10	MOVL	AX, _privates(SB)
11	MOVL	$1, _nprivates(SB)
12	CALL	runtime·asminit(SB)
13	MOVL	inargc-4(FP), AX
14	MOVL	AX, 0(SP)
15	LEAL	inargv+0(FP), AX
16	MOVL	AX, 4(SP)
17	JMP	runtime·rt0_go(SB)
18
19GLOBL _tos(SB), NOPTR, $4
20GLOBL _privates(SB), NOPTR, $4
21GLOBL _nprivates(SB), NOPTR, $4
22