runtime: copy runtime.go and runtime1.go from Go 1.7
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 29 Sep 2016 00:56:44 +0000 (00:56 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 29 Sep 2016 00:56:44 +0000 (00:56 +0000)
commit6748787813f8080f853766877f6933bc0823c19d
tree6027c64554992aac2983e759bd0b0ac9d443369e
parent83194649d2ba2461b60be6e4b1a8db2b7d10412d
runtime: copy runtime.go and runtime1.go from Go 1.7

    Also copy over cputicks.go, env_posix.go, vdso_none.go, stubs2.go, and a
    part of os_linux.go.  Remove the corresponding functions from the C code
    in libgo/go/runtime.  Add some transitional support functions to
    stubs.go.  This converts several minor functions from C to Go.

    Reviewed-on: https://go-review.googlesource.com/29962

From-SVN: r240609
16 files changed:
gcc/go/gofrontend/MERGE
libgo/go/runtime/cputicks.go [new file with mode: 0644]
libgo/go/runtime/env_posix.go [new file with mode: 0644]
libgo/go/runtime/export_test.go
libgo/go/runtime/os_linux.go [new file with mode: 0644]
libgo/go/runtime/runtime.go [new file with mode: 0644]
libgo/go/runtime/runtime1.go [new file with mode: 0644]
libgo/go/runtime/runtime2.go
libgo/go/runtime/stubs.go
libgo/go/runtime/stubs2.go [new file with mode: 0644]
libgo/go/runtime/vdso_none.go [new file with mode: 0644]
libgo/runtime/env_posix.c
libgo/runtime/go-caller.c
libgo/runtime/runtime.c
libgo/runtime/runtime.h
libgo/runtime/runtime1.goc