blob: fb56618d8f180b331853e1b613a9fa04213c2b01 [file] [log] [blame]
Joel Singac005242013-08-24 01:50:24 +10001// Copyright 2009 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
Russ Coxcb040d52014-09-04 23:05:18 -04005#include "textflag.h"
Joel Singac005242013-08-24 01:50:24 +10006
7TEXT _rt0_amd64_dragonfly(SB),NOSPLIT,$-8
8 LEAQ 8(DI), SI // argv
9 MOVQ 0(DI), 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
Joel Singac005242013-08-24 01:50:24 +100015 JMP AX