aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link/internal
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2025-10-16 01:16:02 +0000
committerGopher Robot <gobot@golang.org>2025-10-17 09:52:21 -0700
commitdbbb1bfc912457abcd99eec1ffae74d52ecb55a5 (patch)
tree159996f26af8b27e6b11fba488d69c007ca67a37 /src/cmd/link/internal
parent09830901714d8b3a2cc5fb33e87a81886b21ea24 (diff)
downloadgo-dbbb1bfc912457abcd99eec1ffae74d52ecb55a5.tar.xz
all: correct name for comments
Change-Id: I390c380349e99ad421264b673ad7734eddb639d3 GitHub-Last-Rev: 32e849a6420574b0d878b9a449a8c044fd6ebdd1 GitHub-Pull-Request: golang/go#75905 Reviewed-on: https://go-review.googlesource.com/c/go/+/711941 Reviewed-by: Jorropo <jorropo.pgm@gmail.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Jorropo <jorropo.pgm@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/cmd/link/internal')
-rw-r--r--src/cmd/link/internal/loader/symbolbuilder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/loader/symbolbuilder.go b/src/cmd/link/internal/loader/symbolbuilder.go
index 35749f9ea9..d385dec94a 100644
--- a/src/cmd/link/internal/loader/symbolbuilder.go
+++ b/src/cmd/link/internal/loader/symbolbuilder.go
@@ -139,7 +139,7 @@ func (sb *SymbolBuilder) SetRelocAdd(i int, a int64) {
sb.relocs[i].SetAdd(a)
}
-// SetRelocAdd sets the size of the 'i'-th relocation on this sym to 'sz'
+// SetRelocSiz sets the size of the 'i'-th relocation on this sym to 'sz'
func (sb *SymbolBuilder) SetRelocSiz(i int, sz uint8) {
sb.relocs[i].SetSiz(sz)
}