Commit a4f9c2a2 authored by Joel Sing's avatar Joel Sing Committed by Brad Fitzpatrick

cmd/link: add support for openbsd/arm64

Updates #31656

Change-Id: Iff0b2c2b2ca95f8c246436e35a22b70efb8e61d3
Reviewed-on: https://go-review.googlesource.com/c/go/+/174121Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 6c04c26c
......@@ -60,7 +60,7 @@ func Init() (*sys.Arch, ld.Arch) {
Linuxdynld: "/lib/ld-linux-aarch64.so.1",
Freebsddynld: "XXX",
Openbsddynld: "XXX",
Openbsddynld: "/usr/libexec/ld.so",
Netbsddynld: "/libexec/ld.elf_so",
Dragonflydynld: "XXX",
Solarisdynld: "XXX",
......@@ -85,7 +85,8 @@ func archinit(ctxt *ld.Link) {
}
case objabi.Hlinux, /* arm64 elf */
objabi.Hnetbsd:
objabi.Hnetbsd,
objabi.Hopenbsd:
ld.Elfinit(ctxt)
ld.HEADR = ld.ELFRESERVE
if *ld.FlagTextAddr == -1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment