]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: stream external relocations on ARM64 and on Darwin
authorCherry Zhang <cherryyz@google.com>
Fri, 17 Jul 2020 21:56:17 +0000 (17:56 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 21 Jul 2020 21:15:02 +0000 (21:15 +0000)
commitbf1816c7b7a2519176784f26639968ea47cdeb0b
tree537a56a4d9c62ac05fd61ad1e433bc760def04d9
parent936a2d696674fb714a0b0ed3d2de5dd9c2ea0025
[dev.link] cmd/link: stream external relocations on ARM64 and on Darwin

Support streaming external relocations on ARM64. Support
architecture-specific relocations.

Also support streaming external relocations on Darwin. Do it in
the same CL so ARM64's archreloc doesn't need to support both
streaming and non-streaming.

Change-Id: Ia7fee9957892f98c065022c69a51f47402f4d6e2
Reviewed-on: https://go-review.googlesource.com/c/go/+/243644
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/arm64/asm.go
src/cmd/link/internal/arm64/obj.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/macho.go
src/cmd/link/internal/ld/target.go