diff options
| author | Russ Cox <rsc@golang.org> | 2020-06-04 16:20:39 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2020-06-05 16:54:48 +0000 |
| commit | b6faed1326b0f6c1efd33b99a4550cbc437bd72f (patch) | |
| tree | 1961818ec85d6cc22e59a8fd2783b492c2583992 /src/cmd/asm | |
| parent | 76f233fe045788e71b7460ea82947e4bda6d76ff (diff) | |
| download | go-b6faed1326b0f6c1efd33b99a4550cbc437bd72f.tar.xz | |
cmd/asm, cmd/compile, doc: document -spectre flags
Most of the docs are in the new wiki page
https://golang.org/wiki/Spectre.
Updates #37419.
Change-Id: I6e8f76670593c089de895e1665b41d874f879df9
Reviewed-on: https://go-review.googlesource.com/c/go/+/236599
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/cmd/asm')
| -rw-r--r-- | src/cmd/asm/doc.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cmd/asm/doc.go b/src/cmd/asm/doc.go index 8bf0acac25..4a0c785aad 100644 --- a/src/cmd/asm/doc.go +++ b/src/cmd/asm/doc.go @@ -33,14 +33,17 @@ Flags: Dump instructions as they are parsed. -dynlink Support references to Go symbols defined in other shared libraries. + -gensymabis + Write symbol ABI information to output file. Don't assemble. -o file Write output to file. The default is foo.o for /a/b/c/foo.s. -shared Generate code that can be linked into a shared library. + -spectre list + Enable spectre mitigations in list (all, ret). -trimpath prefix Remove prefix from recorded source file paths. - -gensymabis - Write symbol ABI information to output file. Don't assemble. + Input language: The assembler uses mostly the same syntax for all architectures, |
