1// Copyright 2018 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 "go_asm.h" 6#include "go_tls.h" 7#include "textflag.h" 8 9// This is the entry point for the program from the 10// kernel for an ordinary -buildmode=exe program. 11TEXT _rt0_arm64_windows(SB),NOSPLIT|NOFRAME,$0 12 B ·rt0_go(SB) 13 14TEXT _rt0_arm64_windows_lib(SB),NOSPLIT|NOFRAME,$0 15 MOVD $_rt0_arm64_windows_lib_go(SB), R0 16 MOVD $0, R1 17 MOVD _cgo_sys_thread_create(SB), R2 18 B (R2) 19 20TEXT _rt0_arm64_windows_lib_go(SB),NOSPLIT|NOFRAME,$0 21 MOVD $0, R0 22 MOVD $0, R1 23 MOVD $runtime·rt0_go(SB), R2 24 B (R2) 25 26TEXT main(SB),NOSPLIT|NOFRAME,$0 27 MOVD $runtime·rt0_go(SB), R2 28 B (R2) 29 30