From 3d2645f337091e8cd3f6f0979716fa6cd124ffaa Mon Sep 17 00:00:00 2001
From: Cherry Mui Linker
TODO: https://go.dev/issue/62577: cmd/link, cmd/go: emit split DWARF on darwin
- -
-TODO: complete this section, or delete if not needed
@@ -651,6 +646,16 @@
+ On macOS on 64-bit x86 architecture (the darwin/amd64
port),
+ the Go toolchain now generates position-independent executables (PIE) by default.
+ Non-PIE binaries can be generated by specifying the -buildmode=exe
+ build flag.
+ On 64-bit ARM-based macOS (the darwin/arm64
port),
+ the Go toolchain already generates PIE by default.
+
The GOARM
environment variable now allows you to select whether to use software or hardware floating point.