]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.16: document that on OpenBSD syscalls are now made through libc
authorCherry Zhang <cherryyz@google.com>
Thu, 28 Jan 2021 17:19:49 +0000 (12:19 -0500)
committerCherry Zhang <cherryyz@google.com>
Mon, 1 Feb 2021 16:54:54 +0000 (16:54 +0000)
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>
doc/go1.16.html

index fc01a5f5091304be6423467c4db4a99485396ce2..8d31f63fa2a12eecd2f63b1e6e8694e1776925c9 100644 (file)
@@ -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 -->