]> Cypherpunks repositories - gostls13.git/commit
debug/pe: introduce Section.Relocs
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 21 Apr 2016 01:44:05 +0000 (11:44 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 21 Apr 2016 06:35:48 +0000 (06:35 +0000)
commit45522a6a93efe0fd487f6875f2b104d772a26469
tree10ae32fc7b6bb44235fdb64910ea832132c619b2
parente48434887e568fa96800a0dff36ab45bc844ea04
debug/pe: introduce Section.Relocs

cmd/link reads PE object files when building programs with cgo.
cmd/link accesses object relocations. Add new Section.Relocs that
provides similar functionality in debug/pe.

Updates #15345

Change-Id: I34de91b7f18cf1c9e4cdb3aedd685486a625ac92
Reviewed-on: https://go-review.googlesource.com/22332
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/debug/pe/file.go
src/debug/pe/section.go