]> Cypherpunks repositories - gostls13.git/commit
cmd/link: support PIE on macOS/ARM64
authorCherry Zhang <cherryyz@google.com>
Sun, 4 Oct 2020 03:36:58 +0000 (23:36 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 6 Oct 2020 22:55:40 +0000 (22:55 +0000)
commit234de9e1c2afc518e33c0adcf2928a2a9ebf5ce1
treec770e2bd6e1a5f033da17e3f63e82fd4fbedc9f7
parent7d6b304f123b6d11784b48179059f843493c4790
cmd/link: support PIE on macOS/ARM64

On macOS/ARM64 everything must be PIE, and we already build PIE
in exe buildmode. Support PIE buildmode as well.

Updates #38485.

Change-Id: I10b68c2f6eb77714e31c26116c61a0e28bf9a358
Reviewed-on: https://go-review.googlesource.com/c/go/+/259442
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/dist/test.go
src/cmd/internal/sys/supported.go
src/cmd/link/internal/ld/config.go