mirror of
https://github.com/golang/go
synced 2024-11-19 15:24:46 -07:00
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 <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
This commit is contained in:
parent
29d11ef436
commit
b7397c8100
@ -495,7 +495,7 @@ func (f *peFile) emitRelocations(ctxt *Link) {
|
|||||||
}
|
}
|
||||||
for ri := 0; ri < len(sym.R); ri++ {
|
for ri := 0; ri < len(sym.R); ri++ {
|
||||||
r := &sym.R[ri]
|
r := &sym.R[ri]
|
||||||
if r.Done != 0 {
|
if r.Done {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if r.Xsym == nil {
|
if r.Xsym == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user