]> Cypherpunks repositories - gostls13.git/commit
runtime: fix sigset type for ppc64 big-endian GNU/Linux
authorIan Lance Taylor <iant@golang.org>
Thu, 6 Oct 2016 22:14:58 +0000 (15:14 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 6 Oct 2016 22:24:40 +0000 (22:24 +0000)
commit15937ccb8915ef941e08feb2500f5acf61bd5427
tree677cc6c400e9248c5482329cb92bfebc3105fb58
parenta016ecfdcbc266f45f33350238777fba9a391b8d
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>
src/runtime/os_linux_be64.go [moved from src/runtime/os_linux_s390x.go with 89% similarity]
src/runtime/os_linux_generic.go