aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam
diff options
context:
space:
mode:
authorDimitri John Ledkov <dimitri.ledkov@surgut.co.uk>2026-01-29 05:30:42 +0100
committerGopher Robot <gobot@golang.org>2026-02-19 12:17:47 -0800
commita8032d4c781f14fa0bd561d96e719492aee08c23 (patch)
tree811ce09b9dc1f5f8c0f7ca51d4a891d02dfea707 /test/typeparam
parent87a956bf8cdf9004108942247af8ae0243c5609a (diff)
downloadgo-a8032d4c781f14fa0bd561d96e719492aee08c23.tar.xz
cmd/link: use bfd ld 2.36+ on linux/arm64 instead of gold
The bfd linker has been fixed for a while. In the mean time gold got deprecated and has stopped receiving new features. Add runtime version checking and only use gold, if bfd ld 2.35 and lower is detected. This enables using `-buildmode=shared` on arm64 without installing binutils-gold (on distributions that split package this), as well as to use external ldflags that ld.bfd supports, and ld.gold does not. For example, this enables to specify gcs-report-dynamic=none when building with GCC-15. Fixes #22040. Change-Id: I4eb8b3dabb78844ff662332ad63a4625278271b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/740480 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Mark Freeman <markfreeman@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'test/typeparam')
0 files changed, 0 insertions, 0 deletions