aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2025-06-09 15:47:15 +0800
committerGopher Robot <gobot@golang.org>2025-07-22 02:48:27 -0700
commit1aaf7422f1c4b6a5c3d942d14e06a9ae41595ec8 (patch)
treeee7cd982243f97e40aacff4109026a7cb6d19009
parentd5ec0815e69175d93bb741e9bb0a55b919facc6d (diff)
downloadgo-1aaf7422f1c4b6a5c3d942d14e06a9ae41595ec8.tar.xz
cmd/internal/objabi: remove redundant word in comment
Change-Id: I9bbce94a2f36d5de28b946c94652876f01907fe6 Reviewed-on: https://go-review.googlesource.com/c/go/+/680115 Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Sean Liao <sean@liao.dev> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Sean Liao <sean@liao.dev>
-rw-r--r--src/cmd/internal/objabi/reloctype.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/objabi/reloctype.go b/src/cmd/internal/objabi/reloctype.go
index fbf6844b8d..9b9b4b7ee3 100644
--- a/src/cmd/internal/objabi/reloctype.go
+++ b/src/cmd/internal/objabi/reloctype.go
@@ -466,7 +466,7 @@ func (r RelocType) IsDwTxtAddr() bool {
// FuncCountToDwTxtAddrFlavor returns the correct DWARF .debug_addr
// section relocation to use when compiling a package with a total of
// fncount functions, along with the size of the ULEB128-encoded blob
-// needed to store the the eventual .debug_addr index.
+// needed to store the eventual .debug_addr index.
func FuncCountToDwTxtAddrFlavor(fncount int) (RelocType, int) {
switch {
case fncount <= 127: