]> Cypherpunks repositories - gostls13.git/commit
go/build, runtime/internal/sys: reserve RISC-V arch names
authorTobias Klauser <tklauser@distanz.ch>
Wed, 11 Apr 2018 09:12:28 +0000 (11:12 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 11 Apr 2018 15:51:18 +0000 (15:51 +0000)
commit9446eaa9443cb4ac5e2dcdc0f7a8d3633d96b3ec
tree311cdfe3c0b988a267a200d0ad3b16e3ead966b2
parentd31ee64186aa174778b6353ac244b078bb275eb8
go/build, runtime/internal/sys: reserve RISC-V arch names

In #17528 it was discussed (off-topic to the actual issue) to reserve
GOARCH names for the RISC-V architecture. With the first RISC-V
Linux-capable development boards released (e.g. HiFive Unleashed),
Linux distributions being ported to RISC-V (e.g. Debian, Fedora) and
RISC-V support being added to gccgo (CL 96377), it becomes more likely
that Go software (and maybe Go itself) will be ported as well.

Add riscv and riscv64 (which is already used by gccgo), so Go 1.11 will
already recognize "*_riscv{,64}.go" as reserved files.

Change-Id: I042aab19c68751d82ea513e40f7b1d7e1ad924ea
Reviewed-on: https://go-review.googlesource.com/106256
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
24 files changed:
src/go/build/syslist.go
src/runtime/internal/sys/zgoarch_386.go
src/runtime/internal/sys/zgoarch_amd64.go
src/runtime/internal/sys/zgoarch_amd64p32.go
src/runtime/internal/sys/zgoarch_arm.go
src/runtime/internal/sys/zgoarch_arm64.go
src/runtime/internal/sys/zgoarch_arm64be.go
src/runtime/internal/sys/zgoarch_armbe.go
src/runtime/internal/sys/zgoarch_mips.go
src/runtime/internal/sys/zgoarch_mips64.go
src/runtime/internal/sys/zgoarch_mips64le.go
src/runtime/internal/sys/zgoarch_mips64p32.go
src/runtime/internal/sys/zgoarch_mips64p32le.go
src/runtime/internal/sys/zgoarch_mipsle.go
src/runtime/internal/sys/zgoarch_ppc.go
src/runtime/internal/sys/zgoarch_ppc64.go
src/runtime/internal/sys/zgoarch_ppc64le.go
src/runtime/internal/sys/zgoarch_riscv.go [new file with mode: 0644]
src/runtime/internal/sys/zgoarch_riscv64.go [new file with mode: 0644]
src/runtime/internal/sys/zgoarch_s390.go
src/runtime/internal/sys/zgoarch_s390x.go
src/runtime/internal/sys/zgoarch_sparc.go
src/runtime/internal/sys/zgoarch_sparc64.go
src/runtime/internal/sys/zgoarch_wasm.go