Aram Hăvărneanu | 50df136 | 2014-02-24 22:31:01 -0500 | [diff] [blame] | 1 | // Copyright 2014 The Go Authors. All rights reserved. |
Aram Hăvărneanu | a46b434 | 2014-01-17 17:58:10 +1300 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Russ Cox | cb040d5 | 2014-09-04 23:05:18 -0400 | [diff] [blame] | 5 | #include "textflag.h" |
Aram Hăvărneanu | a46b434 | 2014-01-17 17:58:10 +1300 | [diff] [blame] | 6 | |
| 7 | TEXT _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 | |
| 13 | TEXT main(SB),NOSPLIT,$-8 |
Russ Cox | 7ba41e9 | 2014-09-03 11:11:16 -0400 | [diff] [blame] | 14 | MOVQ $runtime·rt0_go(SB), AX |
Aram Hăvărneanu | a46b434 | 2014-01-17 17:58:10 +1300 | [diff] [blame] | 15 | JMP AX |
| 16 | |
| 17 | DATA runtime·issolaris(SB)/4, $1 |
Russ Cox | 3c94b1d | 2014-09-24 19:04:06 -0400 | [diff] [blame] | 18 | GLOBL runtime·issolaris(SB), NOPTR, $4 |