Skip to content

Commit 6da2d3b

Browse files
Ikko Ashimineianlancetaylor
Ikko Ashimine
authored andcommitted
cmd/link: fix typo in asm.go
targetting -> targeting Change-Id: Ie1752b1293426fe908799731acb352408db98d85 GitHub-Last-Rev: 4cf2a21 GitHub-Pull-Request: #43564 Reviewed-on: https://go-review.googlesource.com/c/go/+/282272 Trust: Than McIntosh <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent df81a15 commit 6da2d3b

File tree

1 file changed

+1
-1
lines changed
  • src/cmd/link/internal/arm64

1 file changed

+1
-1
lines changed

src/cmd/link/internal/arm64/asm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ func gensymlate(ctxt *ld.Link, ldr *loader.Loader) {
10411041
}
10421042

10431043
// machoLabelName returns the name of the "label" symbol used for a
1044-
// relocation targetting s+off. The label symbols is used on darwin
1044+
// relocation targeting s+off. The label symbols is used on darwin
10451045
// when external linking, so that the addend fits in a Mach-O relocation.
10461046
func machoLabelName(ldr *loader.Loader, s loader.Sym, off int64) string {
10471047
return fmt.Sprintf("%s.%d", ldr.SymExtname(s), off/machoRelocLimit)

0 commit comments

Comments
 (0)