aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-01-07 14:25:35 +0000
committerIan Lance Taylor <iant@golang.org>2021-01-07 17:49:47 +0000
commit6da2d3b7d7f9c0063bc4128c2453db65c96f5299 (patch)
tree0eefb157a92063499e5c2198d244805250b9f6d2 /src
parentdf81a15819d5b264e6451976a2884953e8d28b20 (diff)
downloadgo-6da2d3b7d7f9c0063bc4128c2453db65c96f5299.tar.xz
cmd/link: fix typo in asm.go
targetting -> targeting Change-Id: Ie1752b1293426fe908799731acb352408db98d85 GitHub-Last-Rev: 4cf2a211b97655a178f842d20c08ac26002df898 GitHub-Pull-Request: golang/go#43564 Reviewed-on: https://go-review.googlesource.com/c/go/+/282272 Trust: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/link/internal/arm64/asm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/arm64/asm.go b/src/cmd/link/internal/arm64/asm.go
index d6c25fac41..14a20a17d5 100644
--- a/src/cmd/link/internal/arm64/asm.go
+++ b/src/cmd/link/internal/arm64/asm.go
@@ -1041,7 +1041,7 @@ func gensymlate(ctxt *ld.Link, ldr *loader.Loader) {
}
// machoLabelName returns the name of the "label" symbol used for a
-// relocation targetting s+off. The label symbols is used on darwin
+// relocation targeting s+off. The label symbols is used on darwin
// when external linking, so that the addend fits in a Mach-O relocation.
func machoLabelName(ldr *loader.Loader, s loader.Sym, off int64) string {
return fmt.Sprintf("%s.%d", ldr.SymExtname(s), off/machoRelocLimit)