diff options
author | Maciej W. Rozycki <macro@wdc.com> | 2020-08-28 16:05:56 +0100 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-09-30 19:47:48 -0700 |
commit | 2c5499b57cf4a68ebc8decce90d3eb1e281c31a9 (patch) | |
tree | a53f1214796df28a6c081cdcd556c5bdd1bda5c9 /libgo/misc | |
parent | 2dd7b93778d551b6981c8086ecb38e26f677bd2b (diff) | |
download | gcc-2c5499b57cf4a68ebc8decce90d3eb1e281c31a9.zip gcc-2c5499b57cf4a68ebc8decce90d3eb1e281c31a9.tar.gz gcc-2c5499b57cf4a68ebc8decce90d3eb1e281c31a9.tar.bz2 |
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
Diffstat (limited to 'libgo/misc')
-rw-r--r-- | libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go | 2 | ||||
-rw-r--r-- | libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go b/libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go index d343aa5..3b53e1c 100644 --- a/libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go +++ b/libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin dragonfly freebsd linux,!arm64,!riscv64 netbsd openbsd +// +build darwin dragonfly freebsd linux,!arm64,!riscv,!riscv64 netbsd openbsd package main diff --git a/libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go b/libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go index 459f0dc..79a3773 100644 --- a/libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go +++ b/libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build linux,arm64 linux,riscv64 +// +build linux,arm64 linux,riscv,riscv64 package main |