diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-12-19 18:00:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-12-19 18:00:35 +0000 |
commit | 0d3dd8fb65050363f1f82b5f048799fd9a0a0f5a (patch) | |
tree | 2ebab7c43a3260f883a2cf83ca162d10a8850870 /libgo/runtime/go-libmain.c | |
parent | 4daecdb62396a1571f3cba861a0068ab539f8e28 (diff) | |
download | gcc-0d3dd8fb65050363f1f82b5f048799fd9a0a0f5a.zip gcc-0d3dd8fb65050363f1f82b5f048799fd9a0a0f5a.tar.gz gcc-0d3dd8fb65050363f1f82b5f048799fd9a0a0f5a.tar.bz2 |
runtime: copy cgo support from Go 1.7 runtime
Remove support for _cgo_allocate. It was removed from the gc
toolchain in Go 1.5, so it is unlikely that anybody is trying to use it.
Reviewed-on: https://go-review.googlesource.com/34557
From-SVN: r243805
Diffstat (limited to 'libgo/runtime/go-libmain.c')
-rw-r--r-- | libgo/runtime/go-libmain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/runtime/go-libmain.c b/libgo/runtime/go-libmain.c index c62ad93..a404eb9 100644 --- a/libgo/runtime/go-libmain.c +++ b/libgo/runtime/go-libmain.c @@ -61,6 +61,7 @@ initfn (int argc, char **argv, char** env __attribute__ ((unused))) runtime_isarchive = true; + setIsCgo (); runtime_cpuinit (); runtime_initsig(true); |