]> Cypherpunks repositories - gostls13.git/commit
runtime: merge Unix sighandler functions
authorIan Lance Taylor <iant@golang.org>
Sat, 24 Sep 2016 05:05:51 +0000 (22:05 -0700)
committerIan Lance Taylor <iant@golang.org>
Sun, 25 Sep 2016 03:55:33 +0000 (03:55 +0000)
commit159a90b93a962cb942688f099b42d00d164e436f
tree5742f50b4f74e1284512a50cf55dacb6cbf1f7ee
parent890c09efb72f11b3e6fd95d859260bfee7de7f31
runtime: merge Unix sighandler functions

Replace all the Unix sighandler functions with a single instance.
Push the relatively small amount of processor-specific code into five
methods on sigctxt: sigpc, sigsp, siglr, fault, preparePanic.
(Some processors already had a fault method.)

Change-Id: Ib459412ff8f7e0f5ad06bfd43eb827c8b196fc32
Reviewed-on: https://go-review.googlesource.com/29752
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/runtime/signal_386.go
src/runtime/signal_amd64x.go
src/runtime/signal_arm.go
src/runtime/signal_arm64.go
src/runtime/signal_darwin_amd64.go
src/runtime/signal_linux_s390x.go
src/runtime/signal_mips64x.go
src/runtime/signal_ppc64x.go
src/runtime/signal_sighandler.go [new file with mode: 0644]