Text file src/runtime/rt0_android_amd64.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_amd64_android(SB),NOSPLIT,$-8
     8  	JMP	_rt0_amd64(SB)
     9  
    10  TEXT _rt0_amd64_android_lib(SB),NOSPLIT,$0
    11  	MOVQ	$1, DI // argc
    12  	MOVQ	$_rt0_amd64_android_argv(SB), SI  // argv
    13  	JMP	_rt0_amd64_lib(SB)
    14  
    15  DATA _rt0_amd64_android_argv+0x00(SB)/8,$_rt0_amd64_android_argv0(SB)
    16  DATA _rt0_amd64_android_argv+0x08(SB)/8,$0 // end argv
    17  DATA _rt0_amd64_android_argv+0x10(SB)/8,$0 // end envv
    18  DATA _rt0_amd64_android_argv+0x18(SB)/8,$0 // end auxv
    19  GLOBL _rt0_amd64_android_argv(SB),NOPTR,$0x20
    20  
    21  DATA _rt0_amd64_android_argv0(SB)/8, $"gojni"
    22  GLOBL _rt0_amd64_android_argv0(SB),RODATA,$8
    23  

View as plain text