]> Cypherpunks repositories - gostls13.git/commit
cmd/link: update flag doc
authorCherry Mui <cherryyz@google.com>
Fri, 1 Dec 2023 19:04:35 +0000 (14:04 -0500)
committerCherry Mui <cherryyz@google.com>
Fri, 1 Dec 2023 19:58:23 +0000 (19:58 +0000)
commit40f6fbf147fd72da1f6a898375af9a965c7a4659
tree61cf54b18b904a589301d292a80aa1d6d2e5ea06
parent70c7fb75e9768630ca23ff5cbf79c9b597bc068e
cmd/link: update flag doc

Update the go doc for linker flags. Remove flags that no longer
exist. Also remove flags that are intended for debugging the
linker from user docs. Add -aslr to the doc.

The -n flag does nothing except print a nearly useless message on
XCOFF linking. Deprecate it.

Fixes #64476.

Change-Id: I518c9c6cc009eae50b7c11308348524ad6a62b69
Reviewed-on: https://go-review.googlesource.com/c/go/+/546615
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/link/doc.go
src/cmd/link/internal/ld/main.go
src/cmd/link/internal/ld/xcoff.go