]> Cypherpunks repositories - gostls13.git/commit
runtime: fix *bsd/amd64 build
authorMatthew Dempsky <mdempsky@google.com>
Wed, 14 Jan 2015 21:30:34 +0000 (13:30 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 14 Jan 2015 23:58:36 +0000 (23:58 +0000)
commit636de7afb61d3afc354949fb6290afd9554dd5a5
tree219f9384e6f0c0728479e8069d6e67ceabcb1fd5
parent1a4c984baea846a06e95440b2192eec1bc29917a
runtime: fix *bsd/amd64 build

6g does not implement dead code elimination for const switches like it
does for const if statements, so the undefined raiseproc() function
was resulting in a link-time failure.

Change-Id: Ie4fcb3716cb4fe6e618033071df9de545ab3e0af
Reviewed-on: https://go-review.googlesource.com/2830
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/signal_amd64x.go