]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: add methods for adding relocations in Reloc2 format
authorCherry Zhang <cherryyz@google.com>
Wed, 8 Apr 2020 23:45:12 +0000 (19:45 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 9 Apr 2020 19:02:37 +0000 (19:02 +0000)
commitfd7666881beb9bb598e8e4e0c2ba9cd3a9ee4466
tree2ad5a07293978cdf46140992ccfe02ac6dc6b8a5
parente7c16412b7ad9e6c7a10db75ddc2b86a65fbfbe8
[dev.link] cmd/link: add methods for adding relocations in Reloc2 format

This is in prepration of removing the old loader.Reloc. This also
introduces a way of adding a slice of relocations more
efficiently (will be used in the next CL).

Change-Id: I3eaee7fb3a3e102a8670990f4a31c40d0b17b8c2
Reviewed-on: https://go-review.googlesource.com/c/go/+/227761
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/loader/symbolbuilder.go