]> Cypherpunks repositories - gostls13.git/commit
cmd/link: on Mach-O, generate LC_UUID by default
authorCherry Mui <cherryyz@google.com>
Tue, 8 Oct 2024 16:46:01 +0000 (12:46 -0400)
committerCherry Mui <cherryyz@google.com>
Mon, 21 Oct 2024 17:56:35 +0000 (17:56 +0000)
commit6a4feb56448aea1a0fe3485122d48fe7111958b1
tree7fb5f7326bf3e3b4164e6fec0d9b58e6e60902ca
parent0bb2183d45a1acec07470d9f041c55377217c8e2
cmd/link: on Mach-O, generate LC_UUID by default

On Mach-O, default to "-B gobuildid", so it generates the UUID
based on Go buildid by default.

Fixes #68678.

Cq-Include-Trybots: luci.golang.try:gotip-darwin-amd64_14,gotip-darwin-arm64_13
Change-Id: I6c1a6bcafd8370a13174657e05d7d9620a8d4f12
Reviewed-on: https://go-review.googlesource.com/c/go/+/618598
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Than McIntosh <thanm@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/link/internal/ld/elf.go
src/cmd/link/internal/ld/main.go