summaryrefslogtreecommitdiff
path: root/libgo/go/internal/syscall
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-12 14:28:05 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-12 14:28:05 +0000
commit0509fa0eae193f8d99886e9b6a1feda4c6c16356 (patch)
treebcfc25031f13595df938603e4e0d86327cfde9a2 /libgo/go/internal/syscall
parent2c9a4e9265b3ee6b53f10017a882993298d0a7ad (diff)
downloadgcc-0509fa0eae193f8d99886e9b6a1feda4c6c16356.tar.gz
syscall, internal/syscall/unix: Fix getrandom, clone on sparc64
Since sparc is a valid architecture, the name of getrandom_linux_sparc.go means that it will be ignored on sparc64, even though it's whitelisted with a +build line. On SPARC, clone has a unique return value convention which requires some inline assembly to convert it to the normal convention. Reviewed-on: https://go-review.googlesource.com/30873 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241051 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/internal/syscall')
-rw-r--r--libgo/go/internal/syscall/unix/getrandom_linux_sparcx.go (renamed from libgo/go/internal/syscall/unix/getrandom_linux_sparc.go)0
1 files changed, 0 insertions, 0 deletions
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_sparc.go b/libgo/go/internal/syscall/unix/getrandom_linux_sparcx.go
index 4874ec1bd86..4874ec1bd86 100644
--- a/libgo/go/internal/syscall/unix/getrandom_linux_sparc.go
+++ b/libgo/go/internal/syscall/unix/getrandom_linux_sparcx.go