]> Cypherpunks repositories - gostls13.git/commit
runtime: restructured os1_linux.go, added mips64 support
authorYao Zhang <lunaria21@gmail.com>
Thu, 24 Sep 2015 12:42:10 +0000 (08:42 -0400)
committerMinux Ma <minux@golang.org>
Thu, 12 Nov 2015 04:48:23 +0000 (04:48 +0000)
commite0053f8b1c2c90da483ba228fbf671c12063266d
tree1eb152e544cf77f56531da9d971ca47ad6b3e1f7
parentc1037aad4d10078b536625683364dcceed6c4e21
runtime: restructured os1_linux.go, added mips64 support

Linux/mips64 uses a different type of sigset. To deal with it, related
functions in os1_linux.go is refactored to os1_linux_generic.go
(used for non-mips64 architectures), and os1_linux_mips64x.go (only used
in mips64{,le}), to avoid code copying.

Change-Id: I5cadfccd86bfc4b30bf97e12607c3c614903ea4c
Reviewed-on: https://go-review.googlesource.com/14991
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/os1_linux.go
src/runtime/os1_linux_generic.go [new file with mode: 0644]
src/runtime/os1_linux_mips64x.go [new file with mode: 0644]