runtime: copy cgo support from Go 1.7 runtime
commite93c20a8ec0e0cc4df1b4457d06e1ccab8602ce2
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2016 18:00:35 +0000 (19 18:00 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2016 18:00:35 +0000 (19 18:00 +0000)
tree2ebab7c43a3260f883a2cf83ca162d10a8850870
parentf325b94daebaac9705149d22c0ad1e9afee25b44
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243805 138bc75d-0d04-0410-961f-82ee72b054a4
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