]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.21] cmd/link: force old Apple linker in plugin mode
authorCherry Mui <cherryyz@google.com>
Tue, 12 Sep 2023 19:15:12 +0000 (15:15 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 21 Sep 2023 22:21:10 +0000 (22:21 +0000)
commit3ef4f939c3b24cddcb917c2d8a3ea7a588deecab
tree09f149d12b4df9c3b0aec62ec4f0f3ef27e3b392
parent556e9c36baad127ec34be5d2f7e29ae5fd594dcf
[release-branch.go1.21] cmd/link: force old Apple linker in plugin mode

There are some bugs in Apple's new linker that causes plugins to
be built incorrectly. And the bugs probably will not be fixed when
Xcode 15 is released (some time soon). Force old Apple linker to
work around.

Updates #61229.
For #62598.

Change-Id: I01ba5caadec6dc14f8c85dd02f78c1ed2e8b7d4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/527815
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/lib.go