diff options
Diffstat (limited to 'libgo/go/internal/syscall/unix/getrandom_linux_sparcx.go')
-rw-r--r-- | libgo/go/internal/syscall/unix/getrandom_linux_sparcx.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_sparcx.go b/libgo/go/internal/syscall/unix/getrandom_linux_sparcx.go new file mode 100644 index 0000000000..4874ec1bd8 --- /dev/null +++ b/libgo/go/internal/syscall/unix/getrandom_linux_sparcx.go @@ -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 |