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 7 TEXT _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 runtimeasminit(SB) 13 MOVL inargc-4(FP), AX 14 MOVL AX, 0(SP) 15 LEAL inargv+0(FP), AX 16 MOVL AX, 4(SP) 17 CALL runtimert0_go(SB) 18 19 DATA runtimeisplan9(SB)/4, $1 20 GLOBL runtimeisplan9(SB), NOPTR, $4 21 GLOBL _tos(SB), NOPTR, $4 22 GLOBL _privates(SB), NOPTR, $4 23 GLOBL _nprivates(SB), NOPTR, $4 24