1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:04:52 -07:00

cmd/link/internal/arm64: add support for freebsd/arm64

Updates #24715

Change-Id: If5d9591a820f6e921e69e722d46bf91d2ae738cb
Reviewed-on: https://go-review.googlesource.com/c/go/+/198543
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Tobias Klauser 2019-10-04 11:53:17 +02:00 committed by Tobias Klauser
parent b106105e52
commit e0a5fae676

View File

@ -59,7 +59,7 @@ func Init() (*sys.Arch, ld.Arch) {
Linuxdynld: "/lib/ld-linux-aarch64.so.1",
Freebsddynld: "XXX",
Freebsddynld: "/usr/libexec/ld-elf.so.1",
Openbsddynld: "/usr/libexec/ld.so",
Netbsddynld: "/libexec/ld.elf_so",
Dragonflydynld: "XXX",
@ -85,6 +85,7 @@ func archinit(ctxt *ld.Link) {
}
case objabi.Hlinux, /* arm64 elf */
objabi.Hfreebsd,
objabi.Hnetbsd,
objabi.Hopenbsd:
ld.Elfinit(ctxt)