1
0
mirror of https://github.com/golang/go synced 2024-11-14 07:30:22 -07:00
go/misc/cgo/testshared
David Crawshaw a3c92c9db1 cmd/link: use gold when dynamic linking on arm64
The GNU linker follows the letter of -znocopyreloc by refusing to
generate COPY relocations on arm64. Unfortunately it generates an
error instead of finding another way. The gold linker works, so
switch to it.

Fixes linux/arm64 build.

Change-Id: I1f7119d999c8f9f1f2d0c1e06b6462cea9c02a71
Reviewed-on: https://go-review.googlesource.com/22185
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-18 16:14:44 +00:00
..
src cmd/link: allow symbols from .a files to override those from .so files 2016-01-20 19:53:53 +00:00
shared_test.go cmd/link: use gold when dynamic linking on arm64 2016-04-18 16:14:44 +00:00