Skip to content

Commit 574dac9

Browse files
committed
doc/go1.15: fix TODO about -buildmode=pie
Updates #37419. Change-Id: If77067eb348de47a4b101325de8a43502383b6d3 Reviewed-on: https://go-review.googlesource.com/c/go/+/241740 Reviewed-by: Cherry Zhang <[email protected]>
1 parent 504db53 commit 574dac9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/go1.15.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,10 @@ <h2 id="linker">Linker</h2>
336336
</p>
337337

338338
<p><!-- CL 207877 -->
339-
TODO: <a href="https://golang.org/cl/207877">https://golang.org/cl/207877</a>: Revert -buildmode=pie to internal linking.
340-
The linker defaults to internal linking mode for PIE on linux/amd64 and linux/arm64, which does require a C linker.
339+
The linker now defaults to internal linking mode
340+
for <code>-buildmode=pie</code> on
341+
<code>linux/amd64</code> and <code>linux/arm64</code>, so these
342+
configurations no longer require a C linker.
341343
</p>
342344

343345
<h2 id="objdump">Objdump</h2>

0 commit comments

Comments
 (0)