summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/rt0_plan9_amd64.s
blob: 79a7c92fcb7ef3ab6946877a67b9acf2fbb5c379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2010 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.

#include "../../cmd/ld/textflag.h"

TEXT _rt0_amd64_plan9(SB),NOSPLIT,$-8
	LEAQ	8(SP), SI // argv
	MOVQ	0(SP), DI // argc
	MOVQ	$_rt0_go(SB), AX
	JMP	AX

DATA runtime·isplan9(SB)/4, $1
GLOBL runtime·isplan9(SB), $4