1 // Copyright 2015 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 //in plan 9 argc is at top of stack followed by ptrs to arguments 8 9 TEXT _rt0_arm_plan9(SB),NOSPLIT,$-4 10 MOVW R0, _tos(SB) 11 MOVW 0(R13), R0 12 MOVW $4(R13), R1 13 MOVW.W R1, -4(R13) 14 MOVW.W R0, -4(R13) 15 B runtimert0_go(SB) 16 17 GLOBL _tos(SB), NOPTR, $4 18