From: Cherry Mui Date: Mon, 28 Nov 2022 20:42:40 +0000 (-0500) Subject: doc/go1.20: add release notes for the linker X-Git-Tag: go1.20rc1~73 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a4772376af5821c5c341ce9de49628d10d60971b;p=gostls13.git doc/go1.20: add release notes for the linker For #54202. Change-Id: I06d7a44fb24427d783a9f57368dccce219b217bb Reviewed-on: https://go-review.googlesource.com/c/go/+/453620 Run-TryBot: Cherry Mui TryBot-Result: Gopher Robot Reviewed-by: Than McIntosh Reviewed-by: Austin Clements --- diff --git a/doc/go1.20.html b/doc/go1.20.html index 4cec64c869..e048127ff0 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -276,8 +276,22 @@ Do not send CLs removing the interior tags from such phrases.

Linker

-

- TODO: complete this section, or delete if not needed +

+ On Linux, the linker now selects the dynamic interpreter for glibc + or musl at link time. The GO_LDSO environment + variable is no longer used. +

+ +

+ On Windows, the Go linker now supports modern LLVM-based C toolchains. +

+ +

+ Go 1.20 uses go: and type: prefixes for compiler-generated + symbols rather than go. and type.. + This avoids confusion for user packages whose name starts with go.. + The debug/gosym package understands + this new naming convention for binaries built with Go 1.20 and newer.

Bootstrap

@@ -619,6 +633,16 @@ proxyHandler := &httputil.ReverseProxy{ +
debug/gosym
+
+

+ Due to a change of Go's symbol naming conventions, tools that + process Go binaries should use Go 1.20's debug/gosym package to + transparently handle both old and new binaries. +

+
+
+
debug/pe