]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: create loader-specific version of GCProg
authorThan McIntosh <thanm@google.com>
Mon, 20 Apr 2020 13:51:21 +0000 (09:51 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 22 Apr 2020 16:47:33 +0000 (16:47 +0000)
commit45bd3b1bc4aa36ef313899fa372c23d850380b12
tree0f5f1f6e358353e4bf8f3a4fdd5da3bd4777e492
parentd8ab10525e111bfe5a5b2a75685270ad19912080
[dev.link] cmd/link: create loader-specific version of GCProg

Create a new version of the GCProg type + methods that use loader APIs
instead of sym.Symbol.

This code isn't actually used just yet, but will be needed once the
wavefront reaches dodata() and we need to convert that phase.

Change-Id: I087521832015818204fe5c2ac99c7bd3f61b2bf0
Reviewed-on: https://go-review.googlesource.com/c/go/+/229037
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/decodesym.go
src/cmd/link/internal/ld/decodesym2.go