github.com/c9s/go@v0.0.0-20180120015821-984e81f64e0c/src/runtime/rt0_android_386.s (about) 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 TEXT _rt0_386_android(SB),NOSPLIT,$0 8 JMP _rt0_386(SB) 9 10 TEXT _rt0_386_android_lib(SB),NOSPLIT,$0 11 PUSHL $_rt0_386_android_argv(SB) // argv 12 PUSHL $1 // argc 13 JMP _rt0_386_lib(SB) 14 15 DATA _rt0_386_android_argv+0x00(SB)/4,$_rt0_386_android_argv0(SB) 16 DATA _rt0_386_android_argv+0x04(SB)/4,$0 // argv terminate 17 DATA _rt0_386_android_argv+0x08(SB)/4,$0 // envp terminate 18 DATA _rt0_386_android_argv+0x0c(SB)/4,$0 // auxv terminate 19 GLOBL _rt0_386_android_argv(SB),NOPTR,$0x10 20 21 // TODO: wire up necessary VDSO (see os_linux_386.go) 22 23 DATA _rt0_386_android_argv0(SB)/8, $"gojni" 24 GLOBL _rt0_386_android_argv0(SB),RODATA,$8