1
0
mirror of https://github.com/golang/go synced 2024-11-25 19:47:58 -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:
zhangjian 2024-09-07 14:04:00 +00:00 committed by Gopher Robot
parent 9b1f8f32b8
commit 4aa5aa63c9

View File

@ -261,7 +261,7 @@ func decodetypeGcprog(ctxt *Link, s loader.Sym) []byte {
}
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
}
relocs := ctxt.loader.Relocs(s)