From: zhangjian Date: Sat, 7 Sep 2024 14:04:00 +0000 (+0000) Subject: cmd/link/internal/ld: fix error print in decodetypeGcprog X-Git-Tag: go1.24rc1~827 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4aa5aa63c94976009c0ae747ca04d9268272c773;p=gostls13.git cmd/link/internal/ld: fix error print in decodetypeGcprog Change-Id: Ifbd33881280d88c00df9b2c4e20f0127aca55799 GitHub-Last-Rev: 5b42bc612c82344f386b7f77043655cbe09eba77 GitHub-Pull-Request: golang/go#69336 Reviewed-on: https://go-review.googlesource.com/c/go/+/610563 LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Reviewed-by: David Chase Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/link/internal/ld/decodesym.go b/src/cmd/link/internal/ld/decodesym.go index ab2b8fac59..32271b6f91 100644 --- a/src/cmd/link/internal/ld/decodesym.go +++ b/src/cmd/link/internal/ld/decodesym.go @@ -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)