diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2014-09-15 18:16:45 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2014-09-15 18:16:45 -0700 |
| commit | c3dbf56a14e8d9dffab7330c203a82a66cf9722e (patch) | |
| tree | 5912bfb73d51c830b946758692a3d71e8d00da6e /src/cmd/ld | |
| parent | 2bb0a5e085bda1812b7be711335fc43baf1af52e (diff) | |
| download | go-c3dbf56a14e8d9dffab7330c203a82a66cf9722e.tar.xz | |
cmd/ld: document that -X overwrites initialized variables
Fixes #7626.
LGTM=iant
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/144870045
Diffstat (limited to 'src/cmd/ld')
| -rw-r--r-- | src/cmd/ld/doc.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/ld/doc.go b/src/cmd/ld/doc.go index 8135bd549c..5b5833db5d 100644 --- a/src/cmd/ld/doc.go +++ b/src/cmd/ld/doc.go @@ -63,9 +63,9 @@ Options new in this version: -w Omit the DWARF symbol table. -X symbol value - Set the value of an otherwise uninitialized string variable. - The symbol name should be of the form importpath.name, - as displayed in the symbol table printed by "go tool nm". + Set the value of a string variable. The symbol name + should be of the form importpath.name, as displayed + in the symbol table printed by "go tool nm". -race Link with race detection libraries. -B value |
