blob: 4aca991f083d2cd365871a6b877c938e65fd4a77 [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
5#include "../../cmd/ld/textflag.h"
6
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
14 MOVQ $_rt0_go(SB), AX
15 JMP AX
16
17DATA runtime·issolaris(SB)/4, $1
18GLOBL runtime·issolaris(SB), $4