Text file src/runtime/rt0_plan9_arm.s

     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|NOFRAME,$0
    10  	MOVW	R0, _tos(SB)
    11  	MOVW	0(R13), R0
    12  	MOVW	$4(R13), R1
    13  	B	runtime·rt0_go(SB)
    14  
    15  GLOBL _tos(SB), NOPTR, $4
    16  

View as plain text