]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link/internal/ld: fix error print in decodetypeGcprog
authorzhangjian <zj.cosmos@gmail.com>
Sat, 7 Sep 2024 14:04:00 +0000 (14:04 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 26 Sep 2024 14:47:19 +0000 (14:47 +0000)
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>
src/cmd/link/internal/ld/decodesym.go

index ab2b8fac590511ff505076a3c9ed459dceb4eb84..32271b6f9180c1bca550e8c0ad12bd2a7fd1e0a7 100644 (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)