From abca6705969b59edae86f11233f9d207cbdd1e06 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 31 Dec 2020 11:23:30 -0800 Subject: internal/cpu, golang.org/x/sys/cpu: support other GOARCH values Add support (mostly dummy support) for GOARCH values supported by gofrontend but not gc. Fix PPC handling. Fixes https://gcc.gnu.org/PR98493 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/280932 --- libgo/go/internal/cpu/cpu_other.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libgo/go/internal/cpu/cpu_other.go (limited to 'libgo/go/internal/cpu/cpu_other.go') diff --git a/libgo/go/internal/cpu/cpu_other.go b/libgo/go/internal/cpu/cpu_other.go new file mode 100644 index 0000000..d0f1f2e --- /dev/null +++ b/libgo/go/internal/cpu/cpu_other.go @@ -0,0 +1,21 @@ +// 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 !mips64 +// +build !mips64le +// +build !ppc +// +build !ppc64 +// +build !ppc64le +// +build !riscv64 +// +build !s390x + +package cpu + +func doinit() { +} -- cgit v1.1