]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: make hostobj work on newer openbsd
authorJoel Sing <jsing@google.com>
Thu, 19 Dec 2013 16:58:27 +0000 (03:58 +1100)
committerJoel Sing <jsing@google.com>
Thu, 19 Dec 2013 16:58:27 +0000 (03:58 +1100)
commit0eaabf6452149ecbcc1caf40e22ae16cf73c768e
tree8b1b4ed061f8c385b2829b73d4f115292001ff86
parentefd1d050230606b4383f5ddb6ea3df7853fc4ce7
cmd/ld: make hostobj work on newer openbsd

Make hostobj work on OpenBSD 5.3/5.4/-current - these have PIE
enabled by default and linking fails since the Go linker generates
objects that are neither PIC nor PIE.

Fixes #5067

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7572049
src/cmd/ld/lib.c