github.com/rsc/go@v0.0.0-20150416155037-e040fd465409/src/runtime/rt0_freebsd_arm.s (about) 1 // Copyright 2012 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 TEXT _rt0_arm_freebsd(SB),NOSPLIT,$-4 8 MOVW (R13), R0 // argc 9 MOVW $4(R13), R1 // argv 10 MOVM.DB.W [R0-R1], (R13) 11 B runtime·rt0_go(SB) 12 13 TEXT main(SB),NOSPLIT,$-4 14 MOVM.DB.W [R0-R1], (R13) 15 MOVW $runtime·rt0_go(SB), R4 16 B (R4)