Skip to content

Commit b7397c8

Browse files
committed
cmd/link: make it compile again (fixes build)
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 <[email protected]> Reviewed-by: Alex Brainman <[email protected]>
1 parent 29d11ef commit b7397c8

File tree

1 file changed

+1
-1
lines changed
  • src/cmd/link/internal/ld

1 file changed

+1
-1
lines changed

src/cmd/link/internal/ld/pe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ func (f *peFile) emitRelocations(ctxt *Link) {
495495
}
496496
for ri := 0; ri < len(sym.R); ri++ {
497497
r := &sym.R[ri]
498-
if r.Done != 0 {
498+
if r.Done {
499499
continue
500500
}
501501
if r.Xsym == nil {

0 commit comments

Comments
 (0)