Commit 35dc312e authored by Ian Lance Taylor's avatar Ian Lance Taylor

misc/cgo/test/backdoor: add gc build tag for thunk.s

Change-Id: I6be5f610af5c56131a9d887569919372bab1d02c
Reviewed-on: https://go-review.googlesource.com/1903Reviewed-by: 's avatarMinux Ma <minux@golang.org>
parent 1303f0d3
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
package backdoor package backdoor
func LockedOSThread() bool // in thunk.s func LockedOSThread() bool // in thunk.s or runtime_gccgo.c
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Expose some runtime functions for testing. // Expose some runtime functions for testing.
// This is the gccgo version of runtime.c. // This is the gccgo version of thunk.s.
// +build gccgo // +build gccgo
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
// Assembly to get into package runtime without using exported symbols. // Assembly to get into package runtime without using exported symbols.
// +build amd64 amd64p32 arm 386 // +build amd64 amd64p32 arm 386
// +build gc
#include "textflag.h" #include "textflag.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment