rsc.io/go@v0.0.0-20150416155037-e040fd465409/src/runtime/rt0_windows_amd64.s (about)

     1  // Copyright 2011 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 "go_asm.h"
     6  #include "go_tls.h"
     7  #include "textflag.h"
     8  
     9  TEXT _rt0_amd64_windows(SB),NOSPLIT,$-8
    10  	LEAQ	8(SP), SI // argv
    11  	MOVQ	0(SP), DI // argc
    12  	MOVQ	$main(SB), AX
    13  	JMP	AX
    14  
    15  TEXT main(SB),NOSPLIT,$-8
    16  	MOVQ	$runtime·rt0_go(SB), AX
    17  	JMP	AX
    18  
    19  DATA  runtime·iswindows(SB)/4, $1
    20  GLOBL runtime·iswindows(SB), NOPTR, $4