]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: switch runtime to libc for openbsd/amd64
authorJoel Sing <joel@sing.id.au>
Sun, 15 Nov 2020 12:28:57 +0000 (23:28 +1100)
committerJoel Sing <joel@sing.id.au>
Fri, 22 Jan 2021 18:58:08 +0000 (18:58 +0000)
commitdab3e5affefb7e0b157ad27fe4797c4c6f3c4ea6
treec618630c55c6e0ced4b754e0b86045890824bef9
parenta1b53d85dad7648d545ee5e0d7e768f300bfcd84
runtime: switch runtime to libc for openbsd/amd64

Use libc rather than performing direct system calls for the runtime on
openbsd/amd64.

Updates #36435

Change-Id: Ib708009c3743f56a3fd6cb3bc731451e4a398849
Reviewed-on: https://go-review.googlesource.com/c/go/+/270379
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
12 files changed:
src/runtime/defs_openbsd.go
src/runtime/defs_openbsd_amd64.go
src/runtime/mmap.go
src/runtime/os_openbsd.go
src/runtime/os_openbsd_syscall2.go [new file with mode: 0644]
src/runtime/proc.go
src/runtime/signal_openbsd.go
src/runtime/stubs2.go
src/runtime/stubs3.go
src/runtime/sys_openbsd2.go [new file with mode: 0644]
src/runtime/sys_openbsd_amd64.s
src/runtime/timestub2.go