github.com/primecitizens/pcz/std@v0.2.1/core/abi/abi_test.s (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  //
     4  // Copyright 2021 The Go Authors. All rights reserved.
     5  // Use of this source code is governed by a BSD-style
     6  // license that can be found in the LICENSE file.
     7  
     8  #include "textflag.h"
     9  
    10  #ifdef GOARCH_386
    11  #define PTRSIZE 4
    12  #endif
    13  #ifdef GOARCH_arm
    14  #define PTRSIZE 4
    15  #endif
    16  #ifdef GOARCH_mips
    17  #define PTRSIZE 4
    18  #endif
    19  #ifdef GOARCH_mipsle
    20  #define PTRSIZE 4
    21  #endif
    22  #ifndef PTRSIZE
    23  #define PTRSIZE 8
    24  #endif
    25  
    26  TEXT ·FuncPCTestFn(SB),NOSPLIT,$0-0
    27  	RET
    28  
    29  GLOBL ·FuncPCTestFnAddr(SB), NOPTR, $PTRSIZE
    30  DATA ·FuncPCTestFnAddr(SB)/PTRSIZE, $·FuncPCTestFn(SB)