libgo patch commited: Fix arm64be build
diff mbox series

Message ID CAOyqgcWnvooEtWJoPVy4GUT=cyawcCSM8cZ6gQeV77NeZEs3gQ@mail.gmail.com
State New
Headers show
Series
  • libgo patch commited: Fix arm64be build
Related show

Commit Message

Ian Lance Taylor Jan. 22, 2020, 11:05 p.m. UTC
This patch from Andrew Pinski fixes the libgo arm64be build, by using
internal/syscall/unix/getrandom_linux_generic.go on arm64be.
Committed to mainline.

Ian

Patch
diff mbox series

diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 61f01d739ff..544c6e66e0d 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@ 
-94a5ff53df24c58c5e6629ce6720a02aa9986322
+9ae2223f91c4ca642885b80d88eb0baf756acf94
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_generic.go b/libgo/go/internal/syscall/unix/getrandom_linux_generic.go
index 95748d5ebad..0c79ae54f4b 100644
--- a/libgo/go/internal/syscall/unix/getrandom_linux_generic.go
+++ b/libgo/go/internal/syscall/unix/getrandom_linux_generic.go
@@ -3,7 +3,7 @@ 
 // license that can be found in the LICENSE file.
 
 // +build linux
-// +build arm64 nios2 riscv64
+// +build arm64 arm64be nios2 riscv64
 
 package unix