From: Cherry Mui Date: Wed, 4 Dec 2024 22:24:54 +0000 (-0500) Subject: doc/next: add linker change release notes X-Git-Tag: go1.24rc1~27 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=be0c4547d21e7e29ba062af7240b67e2263e5325;p=gostls13.git doc/next: add linker change release notes Document that we now generate GNU build ID or Mach-O UUID by default, and the related flags to disable or override it. Fixes #68678. Fixes #70586. For #68545. Change-Id: Ic79f3c05aab8a5032ba6983b8c72eeb4202bfe84 Reviewed-on: https://go-review.googlesource.com/c/go/+/633875 Reviewed-by: David Chase LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov --- diff --git a/doc/next/5-toolchain.md b/doc/next/5-toolchain.md index 05916531a1..ba45b02567 100644 --- a/doc/next/5-toolchain.md +++ b/doc/next/5-toolchain.md @@ -10,6 +10,13 @@ whether directly or indirectly (through an alias type). ## Linker {#linker} + +The linker now generates a GNU build ID (the ELF `NT_GNU_BUILD_ID` note) on ELF platforms +and a UUID (the Mach-O `LC_UUID` load command) on macOS by default. +The build ID or UUID is derived from the Go build ID. +It can be disabled by the `-B none` linker flag, or overridden by the `-B 0xNNNN` linker +flag with a user-specified hexadecimal value. + ## Bootstrap {#bootstrap} diff --git a/doc/next/9-todo.md b/doc/next/9-todo.md index 351c00d989..626ca9161b 100644 --- a/doc/next/9-todo.md +++ b/doc/next/9-todo.md @@ -1,7 +1,5 @@