From 364c6e61ea0e362ea01c0d191a0961ffa5eda944 Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 22 Feb 2018 19:49:04 +0000 Subject: PR go/84484 libgo: add support for riscv64 Patch by Andreas Schwab. Reviewed-on: https://go-review.googlesource.com/96377 * go.test/go-test.exp (go-set-goarch): Recognize riscv64-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257914 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgo/go/syscall/endian_little.go | 2 +- libgo/go/syscall/libcall_linux_ustat.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libgo/go/syscall') diff --git a/libgo/go/syscall/endian_little.go b/libgo/go/syscall/endian_little.go index b91d4bb72de..4a7312198f5 100644 --- a/libgo/go/syscall/endian_little.go +++ b/libgo/go/syscall/endian_little.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 386 amd64 amd64p32 arm arm64 ppc64le mips64le mipsle alpha ia64 mips64p32le sh +// +build 386 amd64 amd64p32 arm arm64 ppc64le mips64le mipsle alpha ia64 mips64p32le sh riscv64 package syscall diff --git a/libgo/go/syscall/libcall_linux_ustat.go b/libgo/go/syscall/libcall_linux_ustat.go index 261f086f47e..3aff344f25c 100644 --- a/libgo/go/syscall/libcall_linux_ustat.go +++ b/libgo/go/syscall/libcall_linux_ustat.go @@ -4,7 +4,7 @@ // GNU/Linux library ustat call. // This is not supported on some kernels, such as arm64. -// +build !arm64 +// +build !arm64,!riscv64 package syscall -- cgit v1.2.1