diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-03-22 23:51:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-03-22 23:51:35 +0000 |
commit | 58dc29b0b508097ed1e0632851c8840dda71558e (patch) | |
tree | fc2baf002743e22a64be64afdcdf9907bc727712 | |
parent | bb7c8b055fa92d12c91b3a2e9e80ca35be54861f (diff) | |
download | gcc-58dc29b0b508097ed1e0632851c8840dda71558e.zip gcc-58dc29b0b508097ed1e0632851c8840dda71558e.tar.gz gcc-58dc29b0b508097ed1e0632851c8840dda71558e.tar.bz2 |
internal/syscall/unix: add randomTrap for m68k
Patch by Andrwas Schwab.
Reviewed-on: https://go-review.googlesource.com/38456
From-SVN: r246410
-rw-r--r-- | libgo/go/internal/syscall/unix/getrandom_linux_m68k.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go new file mode 100644 index 0000000..5559d30 --- /dev/null +++ b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go @@ -0,0 +1,9 @@ +// Copyright 2017 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 = 352 |