diff options
author | Ian Lance Taylor <iant@golang.org> | 2016-10-06 15:14:58 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2016-10-06 22:24:40 +0000 |
commit | 15937ccb8915ef941e08feb2500f5acf61bd5427 (patch) | |
tree | 677cc6c400e9248c5482329cb92bfebc3105fb58 /src/runtime/os_linux_generic.go | |
parent | a016ecfdcbc266f45f33350238777fba9a391b8d (diff) | |
download | go-15937ccb8915ef941e08feb2500f5acf61bd5427.tar.gz go-15937ccb8915ef941e08feb2500f5acf61bd5427.zip |
runtime: fix sigset type for ppc64 big-endian GNU/Linux
On 64-bit big-endian GNU/Linux machines we need to treat sigset as a
single uint64, not as a pair of uint32 values. This fix was already made
for s390x, but not for ppc64 (which is big-endian--the little endian
version is known as ppc64le). So copy os_linux_390.x to
os_linux_be64.go, and use build constraints as needed.
Fixes #17361
Change-Id: Ia0eb18221a8f5056bf17675fcfeb010407a13fb0
Reviewed-on: https://go-review.googlesource.com/30602
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/os_linux_generic.go')
-rw-r--r-- | src/runtime/os_linux_generic.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/os_linux_generic.go b/src/runtime/os_linux_generic.go index 94e5ed996f..43d0093c31 100644 --- a/src/runtime/os_linux_generic.go +++ b/src/runtime/os_linux_generic.go @@ -5,6 +5,7 @@ // +build !mips64 // +build !mips64le // +build !s390x +// +build !ppc64 // +build linux package runtime |