]> Cypherpunks repositories - gostls13.git/commit
runtime,syscall: convert syscall on openbsd/386 to libc
authorJoel Sing <joel@sing.id.au>
Thu, 28 Jan 2021 12:50:30 +0000 (23:50 +1100)
committerJoel Sing <joel@sing.id.au>
Fri, 30 Apr 2021 20:00:36 +0000 (20:00 +0000)
commit8e91458b19b19584f2026c227265a02724700a55
treea667933e470667c4b3a28fba707c8a5310eecc70
parentfaff49aae6e90f7c6a8333f7974a6ca368c01228
runtime,syscall: convert syscall on openbsd/386 to libc

Convert the syscall package on openbsd/386 to use libc rather than performing
direct system calls.

Updates #36435

Change-Id: Ifcfbca0e6b933762596a564243caa850dac01442
Reviewed-on: https://go-review.googlesource.com/c/go/+/287654
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
12 files changed:
src/runtime/sys_openbsd3.go
src/runtime/sys_openbsd_386.s
src/syscall/asm_openbsd_386.s [new file with mode: 0644]
src/syscall/asm_unix_386.s
src/syscall/exec_bsd.go
src/syscall/exec_libc2.go
src/syscall/exec_unix.go
src/syscall/mkall.sh
src/syscall/syscall_openbsd1.go
src/syscall/syscall_openbsd_libc.go
src/syscall/zsyscall_openbsd_386.go
src/syscall/zsyscall_openbsd_386.s [new file with mode: 0644]