Home | History | Annotate | Download | only in runtime
      1 // Copyright 2009 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_windows(SB),NOSPLIT,$12
      8 	MOVL	12(SP), AX
      9 	LEAL	16(SP), BX
     10 	MOVL	AX, 4(SP)
     11 	MOVL	BX, 8(SP)
     12 	MOVL	$-1, 0(SP) // return PC for main
     13 	JMP	_main(SB)
     14 
     15 TEXT _main(SB),NOSPLIT,$0
     16 	JMP	runtimert0_go(SB)
     17 
     18 
     19 DATA  runtimeiswindows(SB)/4, $1
     20 GLOBL runtimeiswindows(SB), NOPTR, $4
     21