File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -140,11 +140,6 @@ <h2 id="linker">Linker</h2>
140
140
TODO: < a href ="https://go.dev/issue/62577 "> https://go.dev/issue/62577</ a > : cmd/link, cmd/go: emit split DWARF on darwin
141
141
</ p >
142
142
143
- <!-- CL 461697 -->
144
- < p >
145
- <!-- cmd/go: default to PIE linking on darwin/amd64 -->
146
- </ p >
147
-
148
143
< p >
149
144
TODO: complete this section, or delete if not needed
150
145
</ p >
@@ -651,6 +646,16 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
651
646
652
647
< h2 id ="ports "> Ports</ h2 >
653
648
649
+ < h3 id ="darwin "> Darwin</ h3 >
650
+ < p > <!-- CL 461697 -->
651
+ On macOS on 64-bit x86 architecture (the < code > darwin/amd64</ code > port),
652
+ the Go toolchain now generates position-independent executables (PIE) by default.
653
+ Non-PIE binaries can be generated by specifying the < code > -buildmode=exe</ code >
654
+ build flag.
655
+ On 64-bit ARM-based macOS (the < code > darwin/arm64</ code > port),
656
+ the Go toolchain already generates PIE by default.
657
+ </ p >
658
+
654
659
< h3 id ="arm "> Arm</ h3 >
655
660
< p > <!-- CL 514907 -->
656
661
The < code > GOARM</ code > environment variable now allows you to select whether to use software or hardware floating point.
You can’t perform that action at this time.
0 commit comments