summaryrefslogtreecommitdiff
path: root/src/cmd/ld/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/ld/doc.go')
-rw-r--r--src/cmd/ld/doc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/ld/doc.go b/src/cmd/ld/doc.go
index 3493f41d8..2adda25f2 100644
--- a/src/cmd/ld/doc.go
+++ b/src/cmd/ld/doc.go
@@ -33,6 +33,8 @@ Options new in this version:
linker. This flag cannot be used when $GOOS is windows.
-H darwin (only in 6l/8l)
Write Apple Mach-O binaries (default when $GOOS is darwin)
+ -H dragonfly (only in 6l/8l)
+ Write DragonFly ELF binaries (default when $GOOS is dragonfly)
-H linux
Write Linux ELF binaries (default when $GOOS is linux)
-H freebsd
@@ -52,6 +54,8 @@ Options new in this version:
The default is the single location $GOROOT/pkg/$GOOS_$GOARCH.
-r dir1:dir2:...
Set the dynamic linker search path when using ELF.
+ -s
+ Omit the symbol table and debug information.
-V
Print the linker version.
-X symbol value