go/src/cmd
Cherry Zhang e4ec30965b cmd/link: support internal linking on darwin/arm64
Add support of internal linking on darwin/arm64 (macOS).

Still incomplete. Pure Go binaries work. Cgo doesn't. TLS is not
set up when cgo is not used (as before) (so asynchronous
preemption is not enabled).

Internal linking is not enabled by default but can be requested
via -ldflags=-linkmode=internal.

Updates #38485.

Change-Id: I1e0c81b6028edcb1ac26dcdafeb9bb3f788cf732
Reviewed-on: https://go-review.googlesource.com/c/go/+/261643
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2020-10-14 21:32:26 +00:00
..
addr2line cmd/addr2line: don't assume that GOROOT_FINAL is clean 2020-09-17 19:25:09 +00:00
api cmd/api: omit outside dependencies when listing the packages in "std" 2020-09-14 19:45:28 +00:00
asm cmd/asm: reject misplaced go:build comments 2020-10-13 01:16:56 +00:00
buildid
cgo cmd/cgo: add more architectures to size maps 2020-10-08 00:28:09 +00:00
compile cmd/compile: rename strlit, Bool, and Int64 *Node accessors 2020-10-14 08:00:39 +00:00
cover all: replace Replace(..., -1) with ReplaceAll(...) 2020-08-17 04:07:23 +00:00
dist cmd/link: support PIE internal linking on darwin/amd64 2020-10-14 00:19:23 +00:00
doc all: enable more tests on macOS/ARM64 2020-10-06 21:56:24 +00:00
fix cmd/fix: print warning to stderr, show provenance 2020-10-12 18:31:29 +00:00
go cmd/link: support internal linking on darwin/arm64 2020-10-14 21:32:26 +00:00
gofmt go/printer: remove exported StdFormat flag 2020-07-17 02:15:01 +00:00
internal cmd/link: support internal linking on darwin/arm64 2020-10-14 21:32:26 +00:00
link cmd/link: support internal linking on darwin/arm64 2020-10-14 21:32:26 +00:00
nm all: enable more tests on macOS/ARM64 2020-10-09 01:09:06 +00:00
objdump cmd/objdump: skip cgo test in testGoAndCgoDisasm on AIX 2020-08-22 03:46:17 +00:00
pack [dev.link] cmd/pack: use cmd/internal/archive package 2020-08-11 23:11:29 +00:00
pprof cmd/vendor,cmd/pprof: sync pprof@1a94d8640e99 2020-10-07 21:18:29 +00:00
test2json cmd/test2json: do not emit a final Action if the result is not known 2020-08-17 19:43:21 +00:00
trace cmd/trace: move viewer data structs into cmd/internal/traceviewer 2020-08-12 18:34:48 +00:00
vendor cmd: go get golang.org/x/tools@d88ec18 && go mod vendor 2020-10-14 15:19:33 +00:00
vet
README.vendor
go.mod cmd: go get golang.org/x/tools@d88ec18 && go mod vendor 2020-10-14 15:19:33 +00:00
go.sum cmd: go get golang.org/x/tools@d88ec18 && go mod vendor 2020-10-14 15:19:33 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.