aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2021-01-28 12:19:49 -0500
committerCherry Zhang <cherryyz@google.com>2021-02-01 16:54:54 +0000
commit0b6cfea6342a7d95f74bc9e273039236ebd7e64f (patch)
tree0aaed5d2243a83289387c507ecedb161a095bb89
parent26e29aa15a189b26d3b2400a594d329368e78e79 (diff)
downloadgo-0b6cfea6342a7d95f74bc9e273039236ebd7e64f.tar.gz
go-0b6cfea6342a7d95f74bc9e273039236ebd7e64f.zip
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 <cherryyz@google.com> Reviewed-by: Joel Sing <joel@sing.id.au>
-rw-r--r--doc/go1.16.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/go1.16.html b/doc/go1.16.html
index fc01a5f5091..8d31f63fa2a 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.
</p>
+<p><!-- golang.org/issue/36435, many CLs -->
+ On the 64-bit x86 and 64-bit ARM architectures on OpenBSD (the
+ <code>openbsd/amd64</code> and <code>openbsd/arm64</code> ports), system
+ calls are now made through <code>libc</code>, instead of directly using
+ the <code>SYSCALL</code>/<code>SVC</code> instruction. This ensures
+ forward-compatibility with future versions of OpenBSD. In particular,
+ OpenBSD 6.9 onwards will require system calls to be made through
+ <code>libc</code> for non-static Go binaries.
+</p>
+
<h3 id="386">386</h3>
<p><!-- golang.org/issue/40255, golang.org/issue/41848, CL 258957, and CL 260017 -->