From: Ian Lance Taylor Date: Wed, 22 Mar 2017 23:51:35 +0000 (+0000) Subject: internal/syscall/unix: add randomTrap for m68k X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58dc29b0b508097ed1e0632851c8840dda71558e;p=gcc.git internal/syscall/unix: add randomTrap for m68k Patch by Andrwas Schwab. Reviewed-on: https://go-review.googlesource.com/38456 From-SVN: r246410 --- 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 00000000000..5559d30d331 --- /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