TODO: <a href="https://go.dev/issue/62577">https://go.dev/issue/62577</a>: cmd/link, cmd/go: emit split DWARF on darwin
</p>
-<!-- CL 461697 -->
-<p>
- <!-- cmd/go: default to PIE linking on darwin/amd64 -->
-</p>
-
<p>
TODO: complete this section, or delete if not needed
</p>
<h2 id="ports">Ports</h2>
+<h3 id="darwin">Darwin</h3>
+<p><!-- CL 461697 -->
+ On macOS on 64-bit x86 architecture (the <code>darwin/amd64</code> port),
+ the Go toolchain now generates position-independent executables (PIE) by default.
+ Non-PIE binaries can be generated by specifying the <code>-buildmode=exe</code>
+ build flag.
+ On 64-bit ARM-based macOS (the <code>darwin/arm64</code> port),
+ the Go toolchain already generates PIE by default.
+</p>
+
<h3 id="arm">Arm</h3>
<p><!-- CL 514907 -->
The <code>GOARM</code> environment variable now allows you to select whether to use software or hardware floating point.