2010-01-06 18:58:55 -07:00
|
|
|
// Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2014-09-04 21:05:18 -06:00
|
|
|
#include "textflag.h"
|
2013-08-07 13:20:05 -06:00
|
|
|
|
|
|
|
TEXT _rt0_386_windows(SB),NOSPLIT,$12
|
2013-03-07 20:57:10 -07:00
|
|
|
MOVL 12(SP), AX
|
|
|
|
LEAL 16(SP), BX
|
|
|
|
MOVL AX, 4(SP)
|
|
|
|
MOVL BX, 8(SP)
|
|
|
|
MOVL $-1, 0(SP) // return PC for main
|
2015-03-10 01:26:37 -06:00
|
|
|
JMP _main(SB)
|
2013-03-07 20:57:10 -07:00
|
|
|
|
2015-03-10 01:26:37 -06:00
|
|
|
TEXT _main(SB),NOSPLIT,$0
|
2014-09-03 09:11:16 -06:00
|
|
|
JMP runtime·rt0_go(SB)
|