runtime: move osinit to Go
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 Aug 2019 20:39:32 +0000 (20:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 28 Aug 2019 20:39:32 +0000 (20:39 +0000)
commit32b1d51f16fe56b34e979fcfba4bc74dbd3592a9
treecd54b1786061eb18e64ce26e6392df3096b5ba35
parentc980510a5ab79614fcbaf5f411b1273dc9a8c7ca
runtime: move osinit to Go

    This is a step toward updating libgo to 1.13.  This adds the 1.13
    version of the osinit function to Go code, and removes the
    corresponding code from the C runtime.  This should simplify future updates.
    Some additional 1.13 code was brought in to simplify this change.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/191717

From-SVN: r275010
30 files changed:
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/runtime/malloc.go
libgo/go/runtime/netpoll_kqueue.go
libgo/go/runtime/os3_solaris.go
libgo/go/runtime/os_aix.go
libgo/go/runtime/os_darwin.go
libgo/go/runtime/os_dragonfly.go
libgo/go/runtime/os_freebsd.go
libgo/go/runtime/os_hurd.go
libgo/go/runtime/os_linux.go
libgo/go/runtime/os_netbsd.go
libgo/go/runtime/os_openbsd.go
libgo/go/runtime/stubs.go
libgo/go/runtime/stubs2.go
libgo/go/runtime/sys_darwin.go [deleted file]
libgo/go/runtime/sys_darwin_32.go [deleted file]
libgo/go/runtime/sys_darwin_64.go [deleted file]
libgo/mkrsysinfo.sh
libgo/runtime/getncpu-aix.c [deleted file]
libgo/runtime/getncpu-bsd.c [deleted file]
libgo/runtime/getncpu-hurd.c [deleted file]
libgo/runtime/getncpu-irix.c [deleted file]
libgo/runtime/getncpu-linux.c [deleted file]
libgo/runtime/getncpu-none.c [deleted file]
libgo/runtime/getncpu-solaris.c [deleted file]
libgo/runtime/go-libmain.c
libgo/runtime/go-main.c
libgo/runtime/runtime.h