]> Cypherpunks repositories - gostls13.git/commit
cmd/go: use platform.MustLinkExternal in externalLinkingForced
authorIan Lance Taylor <iant@golang.org>
Mon, 20 Mar 2023 21:39:05 +0000 (14:39 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 21 Mar 2023 02:19:56 +0000 (02:19 +0000)
commit6a914ee26f5954a4c561c853cc7d3f24e545477a
tree60c9ef2ff7dbf08312a07934004dae25bb08615c
parentbf1814bc9e4bcda4706627f64391947147b37954
cmd/go: use platform.MustLinkExternal in externalLinkingForced

This is a roll-forward of CL 477395 which was rolled back in CL 477736.
The earlier CL failed because we didn't account for the fact that
on some targets PIE is the default. That is now fixed.

Change-Id: I3e93faa9506033d27040cc9920836f010e05cd26
Reviewed-on: https://go-review.googlesource.com/c/go/+/477919
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/load/pkg.go