]> Cypherpunks repositories - gostls13.git/commit
cmd/link: remove absolute address for c-archive on darwin/arm
authorCherry Zhang <cherryyz@google.com>
Tue, 26 Apr 2016 19:17:56 +0000 (15:17 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 27 Apr 2016 16:22:06 +0000 (16:22 +0000)
commit9629f55fbbfb4052ea24c247cbd5db49ba2f389e
treeab145f36d7d49736cedbfb3e6cd6cd217ea237d0
parent86c93c989e73e823e9e66f3d3e319b616544c320
cmd/link: remove absolute address for c-archive on darwin/arm

Now it is possible to build a c-archive as PIC on darwin/arm (this is
now the default). Then the system linker can link the binary using
the archive as PIE.

Fixes #12896.

Change-Id: Iad84131572422190f5fa036e7d71910dc155f155
Reviewed-on: https://go-review.googlesource.com/22461
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/go/build.go
src/cmd/link/internal/arm/asm.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/macho.go
src/runtime/cgo/signal_darwin_armx.go