Commit f0fc16ab authored by Shenghou Ma's avatar Shenghou Ma

cmd/ld: fix argument passing in doc.go

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8622043
parent 0e76a943
...@@ -31,19 +31,19 @@ Options new in this version: ...@@ -31,19 +31,19 @@ Options new in this version:
is statically linked and does not refer to a dynamic linker. Without this option is statically linked and does not refer to a dynamic linker. Without this option
(the default), the binary's contents are identical but it is loaded with a dynamic (the default), the binary's contents are identical but it is loaded with a dynamic
linker. This flag cannot be used when $GOOS is windows. linker. This flag cannot be used when $GOOS is windows.
-Hdarwin (only in 6l/8l) -H darwin (only in 6l/8l)
Write Apple Mach-O binaries (default when $GOOS is darwin) Write Apple Mach-O binaries (default when $GOOS is darwin)
-Hlinux -H linux
Write Linux ELF binaries (default when $GOOS is linux) Write Linux ELF binaries (default when $GOOS is linux)
-Hfreebsd -H freebsd
Write FreeBSD ELF binaries (default when $GOOS is freebsd) Write FreeBSD ELF binaries (default when $GOOS is freebsd)
-Hnetbsd (only in 6l/8l) -H netbsd
Write NetBSD ELF binaries (default when $GOOS is netbsd) Write NetBSD ELF binaries (default when $GOOS is netbsd)
-Hopenbsd (only in 6l/8l) -H openbsd (only in 6l/8l)
Write OpenBSD ELF binaries (default when $GOOS is openbsd) Write OpenBSD ELF binaries (default when $GOOS is openbsd)
-Hwindows (only in 6l/8l) -H windows (only in 6l/8l)
Write Windows PE32+ Console binaries (default when $GOOS is windows) Write Windows PE32+ Console binaries (default when $GOOS is windows)
-Hwindowsgui (only in 6l/8l) -H windowsgui (only in 6l/8l)
Write Windows PE32+ GUI binaries Write Windows PE32+ GUI binaries
-I interpreter -I interpreter
Set the ELF dynamic linker to use. Set the ELF dynamic linker to use.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment