Home | History | Annotate | Download | only in runtime
      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_amd64_plan9(SB),NOSPLIT,$24
      8 	MOVQ	AX, _tos(SB)
      9 	LEAQ	16(SP), AX
     10 	MOVQ	AX, _privates(SB)
     11 	MOVL	$1, _nprivates(SB)
     12 	MOVL	inargc-8(FP), DI
     13 	LEAQ	inargv+0(FP), SI
     14 	MOVQ	$runtimert0_go(SB), AX
     15 	JMP	AX
     16 
     17 DATA runtimeisplan9(SB)/4, $1
     18 GLOBL runtimeisplan9(SB), NOPTR, $4
     19 GLOBL _tos(SB), NOPTR, $8
     20 GLOBL _privates(SB), NOPTR, $8
     21 GLOBL _nprivates(SB), NOPTR, $4
     22