aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/internal/cpu/cpu_mipsle.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-01-04 12:43:25 -0800
committerIan Lance Taylor <iant@golang.org>2021-01-05 13:48:59 -0800
commita9f76d03bbc791cb55e4e0658f23efd0103ea9b0 (patch)
tree29505078464b7c8342c58d2309490a5657805da8 /libgo/go/internal/cpu/cpu_mipsle.go
parentdb7ce388dcef50f11af9717570e1e49415733d43 (diff)
downloadgcc-a9f76d03bbc791cb55e4e0658f23efd0103ea9b0.zip
gcc-a9f76d03bbc791cb55e4e0658f23efd0103ea9b0.tar.gz
gcc-a9f76d03bbc791cb55e4e0658f23efd0103ea9b0.tar.bz2
internal/cpu: more build fixes for Go1.16beta1 release
Some files were missing from the libgo copy of internal/cpu, because they used to only declare CacheLinePadSize which libgo gets from goarch.sh. Now they also declare doinit, so copy them over. Adjust cpu_other.go. Fix the amd64p32 build by adding a build constraint to cpu_no_name.go. Fixes PR go/98493 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/281472
Diffstat (limited to 'libgo/go/internal/cpu/cpu_mipsle.go')
-rw-r--r--libgo/go/internal/cpu/cpu_mipsle.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgo/go/internal/cpu/cpu_mipsle.go b/libgo/go/internal/cpu/cpu_mipsle.go
new file mode 100644
index 0000000..48755b6
--- /dev/null
+++ b/libgo/go/internal/cpu/cpu_mipsle.go
@@ -0,0 +1,10 @@
+// Copyright 2017 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 cpu
+
+// const CacheLinePadSize = 32
+
+func doinit() {
+}