diff mbox

libgo patch committed: implement randomTrap on mips64p32*

Message ID CAOyqgcU3zOS8j4vy7dbj9KbcwE+BashAM3ZL=jgTUnWToHqDRQ@mail.gmail.com
State New
Headers show

Commit Message

Ian Lance Taylor June 21, 2017, 9:47 p.m. UTC
This patch from James Cowgill implements randomTrip for mips64p32*.
Bootstrapped on x86_64-pc-linux-gnu, which proves little.  Committed
to mainline.

Ian
diff mbox

Patch

Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE	(revision 249472)
+++ gcc/go/gofrontend/MERGE	(working copy)
@@ -1,4 +1,4 @@ 
-b2bebba1f8a8185546c47f8460a3d5c2e31d0434
+c49c752b4d2934cff325dd540821c4b27cc61a05
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
Index: libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go
===================================================================
--- libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go	(revision 0)
+++ libgo/go/internal/syscall/unix/getrandom_linux_mips64p32x.go	(working copy)
@@ -0,0 +1,11 @@ 
+// Copyright 2016 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build mipsn32 mips64p32 mips64p32le
+
+package unix
+
+// Linux getrandom system call number.
+// See GetRandom in getrandom_linux.go.
+const randomTrap uintptr = 6317
Index: libgo/go/internal/syscall/unix/getrandom_linux_mipsn32.go
===================================================================
--- libgo/go/internal/syscall/unix/getrandom_linux_mipsn32.go	(revision 249205)
+++ libgo/go/internal/syscall/unix/getrandom_linux_mipsn32.go	(working copy)
@@ -1,11 +0,0 @@ 
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build mipsn32
-
-package unix
-
-// Linux getrandom system call number.
-// See GetRandom in getrandom_linux.go.
-const randomTrap uintptr = 6317