mirror of
https://github.com/golang/go
synced 2024-11-25 22:28:02 -07:00
cmd/link/internal/ld: fix error print in decodetypeGcprog
Change-Id: Ifbd33881280d88c00df9b2c4e20f0127aca55799
GitHub-Last-Rev: 5b42bc612c
GitHub-Pull-Request: golang/go#69336
Reviewed-on: https://go-review.googlesource.com/c/go/+/610563
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
9b1f8f32b8
commit
4aa5aa63c9
@ -261,7 +261,7 @@ func decodetypeGcprog(ctxt *Link, s loader.Sym) []byte {
|
|||||||
}
|
}
|
||||||
return append(progsize, progbytes...)
|
return append(progsize, progbytes...)
|
||||||
}
|
}
|
||||||
Exitf("cannot find gcmask for %s", ctxt.loader.SymName(s))
|
Exitf("cannot find gcprog for %s", ctxt.loader.SymName(s))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
relocs := ctxt.loader.Relocs(s)
|
relocs := ctxt.loader.Relocs(s)
|
||||||
|
Loading…
Reference in New Issue
Block a user