summaryrefslogtreecommitdiff
path: root/libgo/misc/cgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-09-09 23:13:08 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-09-09 23:13:08 +0000
commit8bdcbd013538dae97e72ba4c3c54f524daeeac72 (patch)
tree2c833548540b7f4ce55f6d10457f059ba892ed39 /libgo/misc/cgo
parentde0f55dbb314264d7858a9d98c805285c62f5b6b (diff)
misc/cgo/testcshared: restore gofrontend-local changes
They were lost when the files were moved in the update to Go1.13beta1. These changes should be made in the master repo for the 1.14 release, as riscv64 support is added there. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194343 From-SVN: r275551
Diffstat (limited to 'libgo/misc/cgo')
-rw-r--r--libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go2
-rw-r--r--libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go2
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 d18f0b130d3..d343aa54d9a 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 netbsd openbsd
+// +build darwin dragonfly freebsd linux,!arm64,!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 c9c65a6e3c1..459f0dc1968 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
+// +build linux,arm64 linux,riscv64
package main