]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.19: document that the assembler requires -p
authorCherry Mui <cherryyz@google.com>
Tue, 7 Jun 2022 20:35:13 +0000 (16:35 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 7 Jun 2022 22:00:00 +0000 (22:00 +0000)
For #51400.

Change-Id: I50fb4313105ae6dbbbe2c98cbe4a8f8e2563eba9
Reviewed-on: https://go-review.googlesource.com/c/go/+/410824
Reviewed-by: Ian Lance Taylor <iant@google.com>
doc/go1.19.html

index 155e300d5a941a19de7ddb32bab02154c28b3c81..b9dfa59297bb1f53c59aeee3994473ba5b14d501 100644 (file)
@@ -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