github.com/varialus/godfly@v0.0.0-20130904042352-1934f9f095ab/src/pkg/runtime/rt0_plan9_amd64.s (about)

     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 "../../cmd/ld/textflag.h"
     6  
     7  TEXT _rt0_amd64_plan9(SB),NOSPLIT,$-8
     8  	LEAQ	8(SP), SI // argv
     9  	MOVQ	0(SP), DI // argc
    10  	MOVQ	$_rt0_go(SB), AX
    11  	JMP	AX
    12  
    13  DATA runtime·isplan9(SB)/4, $1
    14  GLOBL runtime·isplan9(SB), $4