github.com/tcnksm/go@v0.0.0-20141208075154-439b32936367/src/runtime/debug/stubs.s (about)

     1  // Copyright 2014 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_arm
     8  #define JMP B
     9  #endif
    10  #ifdef GOARCH_ppc64
    11  #define JMP BR
    12  #endif
    13  #ifdef GOARCH_ppc64le
    14  #define JMP BR
    15  #endif
    16  
    17  TEXT ·setMaxStack(SB),NOSPLIT,$0-0
    18    JMP runtime·setMaxStack(SB)
    19  
    20  TEXT ·setGCPercent(SB),NOSPLIT,$0-0
    21    JMP runtime·setGCPercent(SB)
    22  
    23  TEXT ·setPanicOnFault(SB),NOSPLIT,$0-0
    24    JMP runtime·setPanicOnFault(SB)
    25  
    26  TEXT ·setMaxThreads(SB),NOSPLIT,$0-0
    27    JMP runtime·setMaxThreads(SB)