gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/internal/abi/abi_test.s (about)

     1  // Copyright 2021 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  #ifdef GOARCH_386
     8  #define PTRSIZE 4
     9  #endif
    10  #ifdef GOARCH_arm
    11  #define PTRSIZE 4
    12  #endif
    13  #ifdef GOARCH_mips
    14  #define PTRSIZE 4
    15  #endif
    16  #ifdef GOARCH_mipsle
    17  #define PTRSIZE 4
    18  #endif
    19  #ifndef PTRSIZE
    20  #define PTRSIZE 8
    21  #endif
    22  
    23  TEXT	internal∕abi·FuncPCTestFn(SB),NOSPLIT,$0-0
    24  	RET
    25  
    26  GLOBL	internal∕abi·FuncPCTestFnAddr(SB), NOPTR, $PTRSIZE
    27  DATA	internal∕abi·FuncPCTestFnAddr(SB)/PTRSIZE, $internal∕abi·FuncPCTestFn(SB)