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_arm64 11 #define JMP B 12 #endif 13 #ifdef GOARCH_ppc64 14 #define JMP BR 15 #endif 16 #ifdef GOARCH_ppc64le 17 #define JMP BR 18 #endif 19 20 TEXT setMaxStack(SB),NOSPLIT,$0-0 21 JMP runtimesetMaxStack(SB) 22 23 TEXT setGCPercent(SB),NOSPLIT,$0-0 24 JMP runtimesetGCPercent(SB) 25 26 TEXT setPanicOnFault(SB),NOSPLIT,$0-0 27 JMP runtimesetPanicOnFault(SB) 28 29 TEXT setMaxThreads(SB),NOSPLIT,$0-0 30 JMP runtimesetMaxThreads(SB) 31