mirror of
https://github.com/golang/go
synced 2024-11-17 07:54:41 -07:00
cmd/link: add support for openbsd/mips64
Update #40995 Change-Id: I2cf9b85a960f479eaa59bf58081d03a0467bc2b8 Reviewed-on: https://go-review.googlesource.com/c/go/+/250582 Trust: Joel Sing <joel@sing.id.au> Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
095e0f48a1
commit
bb48f9925c
@ -60,7 +60,7 @@ func Init() (*sys.Arch, ld.Arch) {
|
||||
|
||||
Linuxdynld: "/lib64/ld64.so.1",
|
||||
Freebsddynld: "XXX",
|
||||
Openbsddynld: "XXX",
|
||||
Openbsddynld: "/usr/libexec/ld.so",
|
||||
Netbsddynld: "XXX",
|
||||
Dragonflydynld: "XXX",
|
||||
Solarisdynld: "XXX",
|
||||
@ -84,7 +84,8 @@ func archinit(ctxt *ld.Link) {
|
||||
*ld.FlagRound = 16 * 1024
|
||||
}
|
||||
|
||||
case objabi.Hlinux: /* mips64 elf */
|
||||
case objabi.Hlinux, /* mips64 elf */
|
||||
objabi.Hopenbsd:
|
||||
ld.Elfinit(ctxt)
|
||||
ld.HEADR = ld.ELFRESERVE
|
||||
if *ld.FlagTextAddr == -1 {
|
||||
|
Loading…
Reference in New Issue
Block a user