github.com/aloncn/graphics-go@v0.0.1/src/runtime/rt0_android_arm64.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_arm64_android(SB),NOSPLIT,$-8
     8  	MOVD	$_rt0_arm64_linux(SB), R4
     9  	B	(R4)
    10  
    11  // When building with -buildmode=c-shared, this symbol is called when the shared
    12  // library is loaded.
    13  TEXT _rt0_arm64_android_lib(SB),NOSPLIT,$-8
    14  	MOVW	$1, R0                            // argc
    15  	MOVD	$_rt0_arm64_android_argv(SB), R1  // **argv
    16  	MOVD	$_rt0_arm64_linux_lib(SB), R4
    17  	B	(R4)
    18  
    19  DATA _rt0_arm64_android_argv+0x00(SB)/8,$_rt0_arm64_android_argv0(SB)
    20  DATA _rt0_arm64_android_argv+0x08(SB)/8,$0
    21  DATA _rt0_arm64_android_argv+0x10(SB)/8,$0
    22  GLOBL _rt0_arm64_android_argv(SB),NOPTR,$0x18
    23  
    24  DATA _rt0_arm64_android_argv0(SB)/8, $"gojni"
    25  GLOBL _rt0_arm64_android_argv0(SB),RODATA,$8