...

Text file src/runtime/rt0_android_arm.s

Documentation: runtime

     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
     7TEXT _rt0_arm_android(SB),NOSPLIT|NOFRAME,$0
     8	MOVW		(R13), R0      // argc
     9	MOVW		$4(R13), R1    // argv
    10	MOVW		$_rt0_arm_linux1(SB), R4
    11	B		(R4)
    12
    13TEXT _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
    18DATA _rt0_arm_android_argv+0x00(SB)/4,$_rt0_arm_android_argv0(SB)
    19DATA _rt0_arm_android_argv+0x04(SB)/4,$0 // end argv
    20DATA _rt0_arm_android_argv+0x08(SB)/4,$0 // end envv
    21DATA _rt0_arm_android_argv+0x0c(SB)/4,$0 // end auxv
    22GLOBL _rt0_arm_android_argv(SB),NOPTR,$0x10
    23
    24DATA _rt0_arm_android_argv0(SB)/8, $"gojni"
    25GLOBL _rt0_arm_android_argv0(SB),RODATA,$8

View as plain text