Commit 4feee8c6 authored by Joel Sing's avatar Joel Sing

cmd/5l: make 5l work on openbsd

Change-Id: If58ea50fbf321ae943d0890a40e0552e7bc19709
Reviewed-on: https://go-review.googlesource.com/2080Reviewed-by: 's avatarMinux Ma <minux@golang.org>
Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
parent 787a8f11
......@@ -74,7 +74,7 @@ func linkarchinit() {
ld.Thearch.Linuxdynld = "/lib/ld-linux.so.3" // 2 for OABI, 3 for EABI
ld.Thearch.Freebsddynld = "/usr/libexec/ld-elf.so.1"
ld.Thearch.Openbsddynld = "XXX"
ld.Thearch.Openbsddynld = "/usr/libexec/ld.so"
ld.Thearch.Netbsddynld = "/libexec/ld.elf_so"
ld.Thearch.Dragonflydynld = "XXX"
ld.Thearch.Solarisdynld = "XXX"
......@@ -124,7 +124,8 @@ func archinit() {
case ld.Hlinux, /* arm elf */
ld.Hfreebsd,
ld.Hnetbsd:
ld.Hnetbsd,
ld.Hopenbsd:
ld.Debug['d'] = 0
// with dynamic linking
ld.Elfinit()
......
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