Commit b5ab5d4f authored by Rob Pike's avatar Rob Pike

document the assemblers.

add details about -d and -e flags in the loaders.

R=rsc
CC=go-dev
http://go/go-review/1018031
parent 2bc63f23
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
5a is a version of the Plan 9 assembler documented at
http://plan9.bell-labs.com/magic/man2html/1/2a
Its target architecture is the ARM, referred to by these tools as arm.
*/
package documentation
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
6a is a version of the Plan 9 assembler documented at
http://plan9.bell-labs.com/magic/man2html/1/2a
Its target architecture is the x86-64, referred to by these tools as amd64.
*/
package documentation
......@@ -19,6 +19,13 @@ Original options are listed in the link above.
Options new in this version:
-d
Elide the dynamic linking header. With this option, the binary
is statically linked and does not refer to dynld. Without this option
(the default), the binary's contents are identical but it is loaded with dynld.
-e
Emit an extra ELF-compatible symbol table useful with tools such as
nm, gdb, and oprofile. This option makes the binary file considerably larger.
-H6
Write Apple Mach-O binaries (default when $GOOS is darwin)
-H7
......
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
8a is a version of the Plan 9 assembler documented at
http://plan9.bell-labs.com/magic/man2html/1/2a
Its target architecture is the x86, referred to by these tools for historical reasons as 386.
*/
package documentation
......@@ -19,6 +19,10 @@ Original options are listed in the link above.
Options new in this version:
-d
Elide the dynamic linking header. With this option, the binary
is statically linked and does not refer to dynld. Without this option
(the default), the binary's contents are identical but it is loaded with dynld.
-H6
Write Apple Mach-O binaries (default when $GOOS is darwin)
-H7
......
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