mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-13 00:01:03 +08:00
a9f76d03bb
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
25 lines
451 B
Go
25 lines
451 B
Go
// Copyright 2020 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.
|
|
|
|
// +build !386
|
|
// +build !amd64
|
|
// +build !amd64p32
|
|
// +build !arm
|
|
// +build !arm64
|
|
// +build !mips
|
|
// +build !mipsle
|
|
// +build !mips64
|
|
// +build !mips64le
|
|
// +build !ppc
|
|
// +build !ppc64
|
|
// +build !ppc64le
|
|
// +build !riscv64
|
|
// +build !s390x
|
|
// +build !wasm
|
|
|
|
package cpu
|
|
|
|
func doinit() {
|
|
}
|