diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-22 23:51:35 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-22 23:51:35 +0000 |
commit | b1372e9d976cbdfecebaed4c0afa0e5d223f8154 (patch) | |
tree | fc2baf002743e22a64be64afdcdf9907bc727712 | |
parent | 43db1141318a6927907ee8a5a46945c56edecbe4 (diff) |
internal/syscall/unix: add randomTrap for m68k
Patch by Andrwas Schwab.
Reviewed-on: https://go-review.googlesource.com/38456
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246410 138bc75d-0d04-0410-961f-82ee72b054a4
-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 000000000000..5559d30d3312 --- /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 |