github.com/tidwall/go@v0.0.0-20170415222209-6694a6888b7d/src/runtime/rt0_nacl_arm.s (about) 1 // Copyright 2014 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 // NaCl entry has: 8 // 0(FP) - 0 9 // 4(FP) - cleanup function pointer, always 0 10 // 8(FP) - envc 11 // 12(FP) - argc 12 // 16(FP) - argv, then 0, then envv, then 0, then auxv 13 TEXT _rt0_arm_nacl(SB),NOSPLIT,$-4 14 MOVW 8(R13), R0 15 MOVW $12(R13), R1 16 MOVM.DB.W [R0-R1], (R13) 17 B main(SB) 18 19 TEXT main(SB),NOSPLIT,$0 20 B runtime·rt0_go(SB)