blob: 5997cbf8e3d05ef94dc8249cc99de38321068eae [file] [log] [blame]
Aram Hăvărneanu50df1362014-02-24 22:31:01 -05001// Copyright 2014 The Go Authors. All rights reserved.
Aram Hăvărneanua46b4342014-01-17 17:58:10 +13002// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Russ Coxcb040d52014-09-04 23:05:18 -04005#include "textflag.h"
Aram Hăvărneanua46b4342014-01-17 17:58:10 +13006
7TEXT _rt0_amd64_solaris(SB),NOSPLIT,$-8
8 LEAQ 8(SP), SI // argv
9 MOVQ 0(SP), DI // argc
10 MOVQ $main(SB), AX
11 JMP AX
12
13TEXT main(SB),NOSPLIT,$-8
Russ Cox7ba41e92014-09-03 11:11:16 -040014 MOVQ $runtime·rt0_go(SB), AX
Aram Hăvărneanua46b4342014-01-17 17:58:10 +130015 JMP AX
16
17DATA runtime·issolaris(SB)/4, $1
Russ Cox3c94b1d2014-09-24 19:04:06 -040018GLOBL runtime·issolaris(SB), NOPTR, $4