]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link/internal/objfile: update deadcode2 to use new reloc hooks
authorThan McIntosh <thanm@google.com>
Fri, 11 Oct 2019 13:21:36 +0000 (09:21 -0400)
committerThan McIntosh <thanm@google.com>
Fri, 11 Oct 2019 15:08:12 +0000 (15:08 +0000)
commit9036351dd7245c66abec26d607e38c5131f989c6
tree3a93385140ec6818063402ca962292c43d842998
parent0b25ab5d96230b8ec5debbf9880527885e0c7573
[dev.link] cmd/link/internal/objfile: update deadcode2 to use new reloc hooks

Update the new deadcode pass to use the revised loader interface
for querying relocations. Remove some of the previous loader relocation
methods, since they are no longer used.

Change-Id: I08cec4c05793a17698b2674068f64837a5bf4477
Reviewed-on: https://go-review.googlesource.com/c/go/+/200718
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/deadcode2.go
src/cmd/link/internal/objfile/objfile2.go