libgo: add 32-bit RISC-V (RV32) support
authorMaciej W. Rozycki <macro@wdc.com>
Fri, 28 Aug 2020 15:05:56 +0000 (16:05 +0100)
committerIan Lance Taylor <iant@golang.org>
Thu, 1 Oct 2020 02:47:48 +0000 (19:47 -0700)
commit2c5499b57cf4a68ebc8decce90d3eb1e281c31a9
treea53f1214796df28a6c081cdcd556c5bdd1bda5c9
parent2dd7b93778d551b6981c8086ecb38e26f677bd2b
libgo: add 32-bit RISC-V (RV32) support

Add support for the 32-bit RISC-V (RV32) ISA matching the 64-bit RISC-V
(RV64) port except for async preemption added as a stub only.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/251179
23 files changed:
gcc/go/gofrontend/MERGE
libgo/configure
libgo/configure.ac
libgo/go/cmd/cgo/main.go
libgo/go/cmd/go/testdata/script/link_syso_issue33139.txt
libgo/go/cmd/internal/sys/arch.go
libgo/go/debug/elf/file.go
libgo/go/go/types/sizes.go
libgo/go/golang.org/x/sys/cpu/cpu_riscv.go [new file with mode: 0644]
libgo/go/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go
libgo/go/internal/bytealg/indexbyte_generic.go
libgo/go/internal/bytealg/indexbyte_native.go
libgo/go/internal/syscall/unix/sysnum_linux_generic.go
libgo/go/runtime/gcinfo_test.go
libgo/go/runtime/hash32.go
libgo/go/runtime/lfstack_32bit.go
libgo/go/runtime/mkpreempt.go
libgo/go/runtime/mpagealloc_32bit.go
libgo/go/syscall/endian_little.go
libgo/match.sh
libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go
libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go
libgo/testsuite/gotest