]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: don't suggest using nm to find -X name
authorIan Lance Taylor <iant@golang.org>
Mon, 2 Jan 2017 05:51:41 +0000 (21:51 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 2 Jan 2017 17:56:17 +0000 (17:56 +0000)
It doesn't work if the package name includes a '.' or a non-ASCII
character (or '%', '"', or a control character).  See #16710 and CL 31970.

Update #18246.

Change-Id: I1487f462a3dc7b0016fce3aa1ea6239b226e6e39
Reviewed-on: https://go-review.googlesource.com/34791
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/link/doc.go

index ba07da986a0d72f7e3b1cb07a8eb2d7f392f107c..16fddf2345dfb9815753d478c57e0ce82a9c6644 100644 (file)
@@ -41,8 +41,6 @@ Flags:
                Set the value of the string variable in importpath named name to value.
                Note that before Go 1.5 this option took two separate arguments.
                Now it takes one argument split on the first = sign.
-               To discover which name to use, run `go tool nm PROGRAM`;
-               usable variables will be tagged "D" or "d".
        -buildmode mode
                Set build mode (default exe).
        -cpuprofile file