runtime: copy cgo support from Go 1.7 runtime
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 19 Dec 2016 18:00:35 +0000 (18:00 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 19 Dec 2016 18:00:35 +0000 (18:00 +0000)
commit0d3dd8fb65050363f1f82b5f048799fd9a0a0f5a
tree2ebab7c43a3260f883a2cf83ca162d10a8850870
parent4daecdb62396a1571f3cba861a0068ab539f8e28
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
18 files changed:
gcc/go/gofrontend/MERGE
libgo/go/runtime/cgo_gccgo.go [new file with mode: 0644]
libgo/go/runtime/cgo_mmap.go [deleted file]
libgo/go/runtime/os_gccgo.go
libgo/go/runtime/proc.go [new file with mode: 0644]
libgo/go/runtime/runtime2.go
libgo/go/runtime/signal1_unix.go
libgo/go/runtime/signal_gccgo.go
libgo/go/runtime/signal_sighandler.go
libgo/go/runtime/stubs.go
libgo/runtime/go-cgo.c
libgo/runtime/go-libmain.c
libgo/runtime/go-main.c
libgo/runtime/malloc.h
libgo/runtime/mgc0.c
libgo/runtime/proc.c
libgo/runtime/runtime.h
libgo/runtime/runtime_c.c