aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2022-06-07 16:35:13 -0400
committerCherry Mui <cherryyz@google.com>2022-06-07 22:00:00 +0000
commit19d71acd978891b201bc5ce79bdcd20b36d04a2e (patch)
tree1f564547125632369d2db693f63468dfe76ea7c2
parentd151134851554aa0a3f05206019b9b8c1e1ad70f (diff)
downloadgo-19d71acd978891b201bc5ce79bdcd20b36d04a2e.tar.gz
go-19d71acd978891b201bc5ce79bdcd20b36d04a2e.zip
doc/go1.19: document that the assembler requires -p
For #51400. Change-Id: I50fb4313105ae6dbbbe2c98cbe4a8f8e2563eba9 Reviewed-on: https://go-review.googlesource.com/c/go/+/410824 Reviewed-by: Ian Lance Taylor <iant@google.com>
-rw-r--r--doc/go1.19.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/go1.19.html b/doc/go1.19.html
index 155e300d5a..b9dfa59297 100644
--- a/doc/go1.19.html
+++ b/doc/go1.19.html
@@ -198,6 +198,15 @@ Do not send CLs removing the interior tags from such phrases.
pass this flag as well.
</p>
+<h2 id="assembler">Assembler</h2>
+<p><!-- CL 404298 -->
+ Like the compiler, the assembler now requires the
+ <code>-p=importpath</code> flag to build a linkable object file.
+ This is already supplied by the <code>go</code> command. Any other
+ build systems that invoke the Go assembler directly will need to
+ make sure they pass this flag as well.
+</p>
+
<h2 id="linker">Linker</h2>
<p><!-- https://go.dev/issue/50796, CL 380755 -->
On ELF platforms, the linker now emits compressed DWARF sections in