aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link/internal
diff options
context:
space:
mode:
authorzhangjian <zj.cosmos@gmail.com>2024-09-07 14:04:00 +0000
committerGopher Robot <gobot@golang.org>2024-09-26 14:47:19 +0000
commit4aa5aa63c94976009c0ae747ca04d9268272c773 (patch)
tree91e6e633b0e28f1d9228765ae5e51546841bd1fc /src/cmd/link/internal
parent9b1f8f32b8b3ace71be1f77a6a500b1550365ec6 (diff)
downloadgo-4aa5aa63c94976009c0ae747ca04d9268272c773.tar.xz
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 <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>
Diffstat (limited to 'src/cmd/link/internal')
-rw-r--r--src/cmd/link/internal/ld/decodesym.go2
1 files changed, 1 insertions, 1 deletions
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)