diff options
| author | Cherry Mui <cherryyz@google.com> | 2021-05-06 12:24:32 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2021-05-06 20:23:33 +0000 |
| commit | f39997b2bebd54416bfb437fa1484fd8a5f43abb (patch) | |
| tree | 89d4bd4b4cb907a11cc9027f3c0d24ce83d1895f /src/runtime/syscall_windows.go | |
| parent | 90d6bbbe42c15d444c1da0a1c293192d6f735a8e (diff) | |
| download | go-f39997b2bebd54416bfb437fa1484fd8a5f43abb.tar.xz | |
cmd/link: split large text sections on Darwin/ARM64 when external linking
The Darwin linker does not like text sections that are larger
than the jump limit (even if we already inserted trampolines).
Split the text section to multiple smaller sections.
Now external linking very large binaries works on Darwin/ARM64.
Updates #40492.
Change-Id: I584f1ec673170c5e4d2dc1e00c701964d6f14333
Reviewed-on: https://go-review.googlesource.com/c/go/+/316050
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/runtime/syscall_windows.go')
0 files changed, 0 insertions, 0 deletions
