summaryrefslogtreecommitdiff
path: root/misc/cgo/test/backdoor/thunk.s
blob: ae735c8a3447ad3e37bd797b89f247674de499c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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.

// Assembly to get into package runtime without using exported symbols.

// +build amd64 amd64p32 arm 386

#include "textflag.h"

#ifdef GOARCH_arm
#define JMP B
#endif

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