github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/src/pkg/runtime/rt0_freebsd_amd64.s (about) 1 // 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 5 TEXT _rt0_amd64_freebsd(SB),7,$-8 6 LEAQ 8(DI), SI // argv 7 MOVQ 0(DI), DI // argc 8 MOVQ $main(SB), AX 9 JMP AX 10 11 TEXT main(SB),7,$-8 12 MOVQ $_rt0_amd64(SB), AX 13 JMP AX