diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2019-10-10 16:16:54 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-10-10 22:38:38 +0000 |
| commit | 03ef105daeff4fef1fd66dbffb8e17d1f779b9ea (patch) | |
| tree | 8ff0605ba1cd68688784f5825c47fac28803c47d /src/runtime/stubs_amd64.go | |
| parent | 6dc740f0928e4c1b43697d8e2d4dbc9804911e79 (diff) | |
| download | go-03ef105daeff4fef1fd66dbffb8e17d1f779b9ea.tar.xz | |
all: remove nacl (part 3, more amd64p32)
Part 1: CL 199499 (GOOS nacl)
Part 2: CL 200077 (amd64p32 files, toolchain)
Part 3: stuff that arguably should've been part of Part 2, but I forgot
one of my grep patterns when splitting the original CL up into
two parts.
This one might also have interesting stuff to resurrect for any future
x32 ABI support.
Updates #30439
Change-Id: I2b4143374a253a003666f3c69e776b7e456bdb9c
Reviewed-on: https://go-review.googlesource.com/c/go/+/200318
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/stubs_amd64.go')
| -rw-r--r-- | src/runtime/stubs_amd64.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/runtime/stubs_amd64.go b/src/runtime/stubs_amd64.go new file mode 100644 index 0000000000..b4c0df1153 --- /dev/null +++ b/src/runtime/stubs_amd64.go @@ -0,0 +1,11 @@ +// Copyright 2018 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. + +package runtime + +// stackcheck checks that SP is in range [g->stack.lo, g->stack.hi). +func stackcheck() + +// Called from assembly only; declared for go vet. +func settls() // argument in DI |
