internal/syscall/unix: add randomTrap for sh/shbe
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 30 Jan 2018 04:48:55 +0000 (04:48 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 30 Jan 2018 04:48:55 +0000 (04:48 +0000)
commit111c8b4ce9f4267fd39d846d1bb20144a10154d2
treeddf983e622d5585cda0fcdb353d0015b809ee387
parenta8e4cea41c3e81c33b243ba75de772a5426b82bf
internal/syscall/unix: add randomTrap for sh/shbe

    CL 84555 added support for the SuperH architecture, but didn't add the
    randomTrap definition to be used for the getrandom syscall on Linux.
    Add it now.

    Reviewed-on: https://go-review.googlesource.com/90535

From-SVN: r257171
gcc/go/gofrontend/MERGE
libgo/go/internal/syscall/unix/getrandom_linux_shx.go [new file with mode: 0644]