From: Cherry Zhang
Date: Thu, 28 Jan 2021 17:19:49 +0000 (-0500)
Subject: doc/go1.16: document that on OpenBSD syscalls are now made through libc
X-Git-Tag: go1.16~1^2~33
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0b6cfea634;p=gostls13.git
doc/go1.16: document that on OpenBSD syscalls are now made through libc
Updates #36435, #40700.
Change-Id: I1e2ded111ad58066cc9f2c9d00e719497b0f34d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/287634
Trust: Cherry Zhang
Reviewed-by: Joel Sing
---
diff --git a/doc/go1.16.html b/doc/go1.16.html
index fc01a5f509..8d31f63fa2 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -80,6 +80,16 @@ Do not send CLs removing the interior tags from such phrases.
support cgo.
+
+ On the 64-bit x86 and 64-bit ARM architectures on OpenBSD (the
+ openbsd/amd64
and openbsd/arm64
ports), system
+ calls are now made through libc
, instead of directly using
+ the SYSCALL
/SVC
instruction. This ensures
+ forward-compatibility with future versions of OpenBSD. In particular,
+ OpenBSD 6.9 onwards will require system calls to be made through
+ libc
for non-static Go binaries.
+
+
386