mirror of https://github.com/golang/go.git
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>
This commit is contained in:
parent
d151134851
commit
19d71acd97
|
|
@ -198,6 +198,15 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
pass this flag as well.
|
pass this flag as well.
|
||||||
</p>
|
</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>
|
<h2 id="linker">Linker</h2>
|
||||||
<p><!-- https://go.dev/issue/50796, CL 380755 -->
|
<p><!-- https://go.dev/issue/50796, CL 380755 -->
|
||||||
On ELF platforms, the linker now emits compressed DWARF sections in
|
On ELF platforms, the linker now emits compressed DWARF sections in
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue