cmd/ld: darwin support for host linking

R=ken2
CC=golang-dev
https://golang.org/cl/7626045
11 files changed