github.com/likebike/go--@v0.0.0-20190911215757-0bd925d16e96/go/src/runtime/rt0_android_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 TEXT _rt0_arm_android(SB),NOSPLIT,$-4 8 MOVW (R13), R0 // argc 9 MOVW $4(R13), R1 // argv 10 MOVW $_rt0_arm_linux1(SB), R4 11 B (R4) 12 13 TEXT _rt0_arm_android_lib(SB),NOSPLIT,$0 14 MOVW $1, R0 // argc 15 MOVW $_rt0_arm_android_argv(SB), R1 // **argv 16 B _rt0_arm_lib(SB) 17 18 DATA _rt0_arm_android_argv+0x00(SB)/4,$_rt0_arm_android_argv0(SB) 19 DATA _rt0_arm_android_argv+0x04(SB)/4,$0 // end argv 20 DATA _rt0_arm_android_argv+0x08(SB)/4,$0 // end envv 21 DATA _rt0_arm_android_argv+0x0c(SB)/4,$0 // end auxv 22 GLOBL _rt0_arm_android_argv(SB),NOPTR,$0x10 23 24 DATA _rt0_arm_android_argv0(SB)/8, $"gojni" 25 GLOBL _rt0_arm_android_argv0(SB),RODATA,$8