Skip to content

Commit

Permalink
cmd/link: make it compile again (fixes build)
Browse files Browse the repository at this point in the history
CL 59375 changed Reloc.Done to bool, but that change
got lost in pe.go while merging. Restore that change.

Change-Id: Ie5a89e85579cdc9282f504fefd56355cfeb49389
Reviewed-on: https://go-review.googlesource.com/59711
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
  • Loading branch information
alexbrainman committed Aug 29, 2017
1 parent 29d11ef commit b7397c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/link/internal/ld/pe.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ func (f *peFile) emitRelocations(ctxt *Link) {
}
for ri := 0; ri < len(sym.R); ri++ {
r := &sym.R[ri]
if r.Done != 0 {
if r.Done {
continue
}
if r.Xsym == nil {
Expand Down

0 comments on commit b7397c8

Please sign in to comment.