aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-12-01 05:47:58 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-12-01 05:47:58 +0000
commit6e7f1be7aeabdb64c863f90e317ec1c80920adfa (patch)
treee58c2df7e7df5f0dc66335b432241c685482b0c3 /gcc/go
parent974afa584b18a3713eb4ada1b5d657ca0f94f498 (diff)
downloadgcc-6e7f1be7aeabdb64c863f90e317ec1c80920adfa.zip
gcc-6e7f1be7aeabdb64c863f90e317ec1c80920adfa.tar.gz
gcc-6e7f1be7aeabdb64c863f90e317ec1c80920adfa.tar.bz2
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 From-SVN: r243094
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/MERGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 323b07c..8f5f542 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-9be198d960e4bc46e21e4da1e3d4a1619266b8ab
+97b949f249515a61d3c09e9e06f08c8af189e967
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.