github.com/primecitizens/pcz/std@v0.2.1/runtime/sym.s (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  //
     4  // Copyright 2014 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  //go:build pcz
     9  
    10  #include "textflag.h"
    11  
    12  TEXT runtime·mapinitnoop<ABIInternal>(SB),NOSPLIT,$0-0
    13  	RET
    14  
    15  #ifdef GOARCH_riscv64
    16  TEXT runtime·getcallerpc<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-8
    17  	MOV 0(X2), X10 // LR saved by caller
    18  	RET
    19  #endif