You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
Reviewed-by: Than McIntosh <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Copy file name to clipboardExpand all lines: src/cmd/link/internal/ld/main.go
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ var (
95
95
flagN=flag.Bool("n", false, "no-op (deprecated)")
96
96
FlagS=flag.Bool("s", false, "disable symbol table")
97
97
flag8bool// use 64-bit addresses in symbol table
98
-
flagHostBuildid=flag.String("B", "", "set ELF NT_GNU_BUILD_ID `note` or Mach-O UUID; use \"gobuildid\" to generate it from the Go build ID")
98
+
flagHostBuildid=flag.String("B", "", "set ELF NT_GNU_BUILD_ID `note` or Mach-O UUID; use \"gobuildid\" to generate it from the Go build ID; \"none\" to disable")
99
99
flagInterpreter=flag.String("I", "", "use `linker` as ELF dynamic linker")
100
100
flagCheckLinkname=flag.Bool("checklinkname", true, "check linkname symbol references")
0 commit comments