...

Text file src/pkg/runtime/rt0_android_386.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	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		CALL	_rt0_386_lib(SB)
    14		POPL	AX
    15		POPL	AX
    16		RET
    17	
    18	DATA _rt0_386_android_argv+0x00(SB)/4,$_rt0_386_android_argv0(SB)
    19	DATA _rt0_386_android_argv+0x04(SB)/4,$0  // argv terminate
    20	DATA _rt0_386_android_argv+0x08(SB)/4,$0  // envp terminate
    21	DATA _rt0_386_android_argv+0x0c(SB)/4,$0  // auxv terminate
    22	GLOBL _rt0_386_android_argv(SB),NOPTR,$0x10
    23	
    24	// TODO: wire up necessary VDSO (see os_linux_386.go)
    25	
    26	DATA _rt0_386_android_argv0(SB)/8, $"gojni"
    27	GLOBL _rt0_386_android_argv0(SB),RODATA,$8

View as plain text