summaryrefslogtreecommitdiff
path: root/src/runtime/debug/stubs.s
blob: d56274f2dc7576e117b824f4f26cf7b9a1aa602f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2014 The Go Authors.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#include "textflag.h"

#ifdef GOARCH_arm
#define JMP B
#endif

TEXT ·setMaxStack(SB),NOSPLIT,$0-0
  JMP runtime·setMaxStack(SB)

TEXT ·setGCPercent(SB),NOSPLIT,$0-0
  JMP runtime·setGCPercent(SB)

TEXT ·setPanicOnFault(SB),NOSPLIT,$0-0
  JMP runtime·setPanicOnFault(SB)

TEXT ·setMaxThreads(SB),NOSPLIT,$0-0
  JMP runtime·setMaxThreads(SB)