aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/objabi
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2022-11-11 10:05:39 +0800
committerGopher Robot <gobot@golang.org>2022-11-11 19:12:52 +0000
commit5a3243e6b60ec7b006d8b65fd564133018cad777 (patch)
treec5f2272d7fcf1252177af0e3598affd88714a4ee /src/cmd/internal/objabi
parent46bed9d04c5f1e0da557d79b9a35bf9331fcd33f (diff)
downloadgo-5a3243e6b60ec7b006d8b65fd564133018cad777.tar.xz
all: fix problematic comments
Change-Id: Ib6ea1bd04d9b06542ed2b0f453c718115417c62c Reviewed-on: https://go-review.googlesource.com/c/go/+/449755 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/cmd/internal/objabi')
-rw-r--r--src/cmd/internal/objabi/reloctype.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/objabi/reloctype.go b/src/cmd/internal/objabi/reloctype.go
index 590eedb025..2bc7b2dd7a 100644
--- a/src/cmd/internal/objabi/reloctype.go
+++ b/src/cmd/internal/objabi/reloctype.go
@@ -242,7 +242,7 @@ const (
// rather than the symbol's address.
R_ADDRPOWER_TOCREL
- // R_ADDRPOWER_TOCREL relocates a D-form, DS-form instruction sequence like
+ // R_ADDRPOWER_TOCREL_DS relocates a D-form, DS-form instruction sequence like
// R_ADDRPOWER_DS but inserts the offset from the TOC to the address of the
// relocated symbol rather than the symbol's address.
R_ADDRPOWER_TOCREL_DS
@@ -252,7 +252,7 @@ const (
// and the low 16 are stored in the suffix. The address is absolute.
R_ADDRPOWER_D34
- // R_ADDPOWER_PCREL34 relates a single prefixed D-form load/store/add operation.
+ // R_ADDRPOWER_PCREL34 relates a single prefixed D-form load/store/add operation.
// All prefixed forms are D form. The resulting address is relative to the
// PC. It is a signed 34 bit offset.
R_ADDRPOWER_PCREL34