github.com/aloncn/graphics-go@v0.0.1/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  // When building with -buildmode=c-shared, this symbol is called when the shared
    14  // library is loaded.
    15  TEXT _rt0_arm_android_lib(SB),NOSPLIT,$0
    16  	MOVW	$1, R0                          // argc
    17  	MOVW	$_rt0_arm_android_argv(SB), R1  // **argv
    18  	BL _rt0_arm_linux_lib(SB)
    19  	RET
    20  
    21  DATA _rt0_arm_android_argv+0x00(SB)/4,$_rt0_arm_android_argv0(SB)
    22  DATA _rt0_arm_android_argv+0x04(SB)/4,$0
    23  DATA _rt0_arm_android_argv+0x08(SB)/4,$0
    24  DATA _rt0_arm_android_argv+0x0C(SB)/4,$15      // AT_PLATFORM
    25  DATA _rt0_arm_android_argv+0x10(SB)/4,$_rt0_arm_android_auxv0(SB)
    26  DATA _rt0_arm_android_argv+0x14(SB)/4,$16      // AT_HWCAP
    27  DATA _rt0_arm_android_argv+0x18(SB)/4,$0x2040  // HWCAP_VFP | HWCAP_VFPv3
    28  DATA _rt0_arm_android_argv+0x1C(SB)/4,$0
    29  GLOBL _rt0_arm_android_argv(SB),NOPTR,$0x20
    30  
    31  DATA _rt0_arm_android_argv0(SB)/8, $"gojni"
    32  GLOBL _rt0_arm_android_argv0(SB),RODATA,$8
    33  
    34  DATA _rt0_arm_android_auxv0(SB)/4, $"v7l"
    35  GLOBL _rt0_arm_android_auxv0(SB),RODATA,$4