diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2019-10-09 16:22:47 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-10-09 22:34:34 +0000 |
| commit | 07b4abd62e450f19c47266b3a526df49c01ba425 (patch) | |
| tree | f36075bd2f2c2149744ca1bd2fb22fecf742fd87 /src/runtime/internal/sys | |
| parent | 19a7490e568824302b271f6e27dde3f1cd92ffc7 (diff) | |
| download | go-07b4abd62e450f19c47266b3a526df49c01ba425.tar.xz | |
all: remove the nacl port (part 2, amd64p32 + toolchain)
This is part two if the nacl removal. Part 1 was CL 199499.
This CL removes amd64p32 support, which might be useful in the future
if we implement the x32 ABI. It also removes the nacl bits in the
toolchain, and some remaining nacl bits.
Updates #30439
Change-Id: I2475d5bb066d1b474e00e40d95b520e7c2e286e1
Reviewed-on: https://go-review.googlesource.com/c/go/+/200077
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/internal/sys')
| -rw-r--r-- | src/runtime/internal/sys/arch_amd64p32.go | 16 | ||||
| -rw-r--r-- | src/runtime/internal/sys/zgoarch_amd64p32.go | 31 |
2 files changed, 0 insertions, 47 deletions
diff --git a/src/runtime/internal/sys/arch_amd64p32.go b/src/runtime/internal/sys/arch_amd64p32.go deleted file mode 100644 index d51c8a5354..0000000000 --- a/src/runtime/internal/sys/arch_amd64p32.go +++ /dev/null @@ -1,16 +0,0 @@ -// 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. - -package sys - -const ( - ArchFamily = AMD64 - BigEndian = false - DefaultPhysPageSize = 65536*GoosNacl + 4096*(1-GoosNacl) - PCQuantum = 1 - Int64Align = 8 - MinFrameSize = 0 -) - -type Uintreg uint64 diff --git a/src/runtime/internal/sys/zgoarch_amd64p32.go b/src/runtime/internal/sys/zgoarch_amd64p32.go deleted file mode 100644 index 13dc2e756d..0000000000 --- a/src/runtime/internal/sys/zgoarch_amd64p32.go +++ /dev/null @@ -1,31 +0,0 @@ -// Code generated by gengoos.go using 'go generate'. DO NOT EDIT. - -// +build amd64p32 - -package sys - -const GOARCH = `amd64p32` - -const Goarch386 = 0 -const GoarchAmd64 = 0 -const GoarchAmd64p32 = 1 -const GoarchArm = 0 -const GoarchArmbe = 0 -const GoarchArm64 = 0 -const GoarchArm64be = 0 -const GoarchPpc64 = 0 -const GoarchPpc64le = 0 -const GoarchMips = 0 -const GoarchMipsle = 0 -const GoarchMips64 = 0 -const GoarchMips64le = 0 -const GoarchMips64p32 = 0 -const GoarchMips64p32le = 0 -const GoarchPpc = 0 -const GoarchRiscv = 0 -const GoarchRiscv64 = 0 -const GoarchS390 = 0 -const GoarchS390x = 0 -const GoarchSparc = 0 -const GoarchSparc64 = 0 -const GoarchWasm = 0 |
