r243094 - in /trunk: gcc/go/gofrontend/MERGE li...
ian@gcc.gnu.org
ian@gcc.gnu.org
Thu Dec 1 05:48:00 GMT 2016
Author: ian
Date: Thu Dec 1 05:47:58 2016
New Revision: 243094
URL: https://gcc.gnu.org/viewcvs?rev=243094&root=gcc&view=rev
Log:
runtime: set isarchive in initsig
The library initialization code in go-libmain.c sets the C variable
runtime_isarchive but failed to set the Go variable runtime.isarchive.
We don't currently have a way to let C code access an unexported Go
variable, but fortunately the only time the Go function initsig is
called with an argument of true is exactly where we want to set
isarchive. So let initsig do it.
Reviewed-on: https://go-review.googlesource.com/33753
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/libgo/go/runtime/signal1_unix.go
More information about the Gcc-cvs
mailing list