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

There are some bugs in Apple's new linker that probably will not
be fixed when Xcode 15 is released (some time soon). We fix/work
around them but it is too much to backport them all. Force old
Apple linker to work around.

Updates #61229.
For #62597.

Change-Id: Ia5941918e882b22b4dbc41c74764d19d413d0b56
Reviewed-on: https://go-review.googlesource.com/c/go/+/527818
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