diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-07 22:32:46 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-07 22:32:46 +0000 |
commit | 4d29d40e330e82a3b5eff8e7300a089cd20c911d (patch) | |
tree | 8e220f52080a004ca3ebfa32b8532ab4dcd54c5d /libgo/go/internal/syscall/unix/getrandom_linux_s390.go | |
parent | b5b764be627e0be5018109e7ad70f5de5b81793b (diff) |
internal/syscall/unix: fix syscalls for alpha, ia64, s390
Also change the configure script to set GOARCH correctly for ia64, and
add ia64 as a processor to match.sh and gotest.
Reviewed-on: https://go-review.googlesource.com/25549
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/internal/syscall/unix/getrandom_linux_s390.go')
-rw-r--r-- | libgo/go/internal/syscall/unix/getrandom_linux_s390.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_s390.go b/libgo/go/internal/syscall/unix/getrandom_linux_s390.go new file mode 100644 index 000000000000..e3bc4ee355c0 --- /dev/null +++ b/libgo/go/internal/syscall/unix/getrandom_linux_s390.go @@ -0,0 +1,9 @@ +// 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. + +package unix + +// Linux getrandom system call number. +// See GetRandom in getrandom_linux.go. +const randomTrap uintptr = 349 |