...

Text file src/runtime/rt0_dragonfly_amd64.s

Documentation: runtime

     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#include "textflag.h"
     6
     7// On Dragonfly argc/argv are passed in DI, not SP, so we can't use _rt0_amd64.
     8TEXT _rt0_amd64_dragonfly(SB),NOSPLIT,$-8
     9	LEAQ	8(DI), SI // argv
    10	MOVQ	0(DI), DI // argc
    11	JMP	runtime·rt0_go(SB)
    12
    13TEXT _rt0_amd64_dragonfly_lib(SB),NOSPLIT,$0
    14	JMP	_rt0_amd64_lib(SB)

View as plain text