internal/cpu, golang.org/x/sys/cpu: support other GOARCH values
authorIan Lance Taylor <iant@golang.org>
Thu, 31 Dec 2020 19:23:30 +0000 (11:23 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 1 Jan 2021 23:10:06 +0000 (15:10 -0800)
commitabca6705969b59edae86f11233f9d207cbdd1e06
tree29e98635d93a1d559f1c07cc7a0d025c3520a56b
parentd816b0c144d15e6570eb5b124b9f3ccbe3d40082
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
gcc/go/gofrontend/MERGE
libgo/go/golang.org/x/sys/cpu/cpu_other.go [new file with mode: 0644]
libgo/go/golang.org/x/sys/cpu/cpu_other_arch.go [new file with mode: 0644]
libgo/go/golang.org/x/sys/cpu/cpu_riscv.go
libgo/go/internal/cpu/cpu_amd64p32.go [new file with mode: 0644]
libgo/go/internal/cpu/cpu_other.go [new file with mode: 0644]
libgo/go/internal/cpu/cpu_ppc64x_aix.go
libgo/go/internal/cpu/cpu_ppc64x_linux.go
libgo/go/internal/cpu/cpu_ppcx.go [deleted file]
libgo/go/internal/cpu/cpu_x86.go