summaryrefslogtreecommitdiff
path: root/debian/patches/libgo-add-getrandom-mips-sparc.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-19 17:35:47 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-19 17:35:47 +0300
commit03bebac19e6fef19299d7326d3ee41f8a7dd1316 (patch)
treebb413d22ada331790f08b7b9a592e5ab95cd8918 /debian/patches/libgo-add-getrandom-mips-sparc.diff
parent94a19f31b81e9e7e295414fe2ad2302e0db25a08 (diff)
parent8f6c4b0033c72f8ac14694c419a99458339dd6a9 (diff)
downloadgcc-9-03bebac19e6fef19299d7326d3ee41f8a7dd1316.tar.gz
Merge tag 'debian/9.2.1-19'
Diffstat (limited to 'debian/patches/libgo-add-getrandom-mips-sparc.diff')
-rw-r--r--debian/patches/libgo-add-getrandom-mips-sparc.diff67
1 files changed, 0 insertions, 67 deletions
diff --git a/debian/patches/libgo-add-getrandom-mips-sparc.diff b/debian/patches/libgo-add-getrandom-mips-sparc.diff
deleted file mode 100644
index 378e78c..0000000
--- a/debian/patches/libgo-add-getrandom-mips-sparc.diff
+++ /dev/null
@@ -1,67 +0,0 @@
-# DP: Backport r240457 from trunk
-
-internal/syscall/unix: add getrandom syscall for MIPS and SPARC
-
-Reviewed-on: https://go-review.googlesource.com/29678
-
-Index: b/src/libgo/go/internal/syscall/unix/getrandom_linux_mipso32.go
-===================================================================
---- a/src/libgo/go/internal/syscall/unix/getrandom_linux_mipso32.go (nonexistent)
-+++ b/src/libgo/go/internal/syscall/unix/getrandom_linux_mipso32.go (revision 240457)
-@@ -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 mipso32
-+
-+package unix
-+
-+// Linux getrandom system call number.
-+// See GetRandom in getrandom_linux.go.
-+const randomTrap uintptr = 4353
-Index: b/src/libgo/go/internal/syscall/unix/getrandom_linux_sparc.go
-===================================================================
---- a/src/libgo/go/internal/syscall/unix/getrandom_linux_sparc.go (nonexistent)
-+++ b/src/libgo/go/internal/syscall/unix/getrandom_linux_sparc.go (revision 240457)
-@@ -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 sparc sparc64
-+
-+package unix
-+
-+// Linux getrandom system call number.
-+// See GetRandom in getrandom_linux.go.
-+const randomTrap uintptr = 347
-Index: b/src/libgo/go/internal/syscall/unix/getrandom_linux_mips64x.go
-===================================================================
---- a/src/libgo/go/internal/syscall/unix/getrandom_linux_mips64x.go (revision 240456)
-+++ b/src/libgo/go/internal/syscall/unix/getrandom_linux_mips64x.go (revision 240457)
-@@ -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 mips64 mips64le
-+// +build mips64 mips64le mipsn64 mipso64
-
- package unix
-
-Index: b/src/libgo/go/internal/syscall/unix/getrandom_linux_mipsn32.go
-===================================================================
---- a/src/libgo/go/internal/syscall/unix/getrandom_linux_mipsn32.go (nonexistent)
-+++ b/src/libgo/go/internal/syscall/unix/getrandom_linux_mipsn32.go (revision 240457)
-@@ -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
-+
-+package unix
-+
-+// Linux getrandom system call number.
-+// See GetRandom in getrandom_linux.go.
-+const randomTrap uintptr = 6317