aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link/internal/ld/deadcode.go
diff options
context:
space:
mode:
authorTao Qingyun <qingyunha@gmail.com>2021-03-14 00:09:05 +0000
committerTobias Klauser <tobias.klauser@gmail.com>2021-03-15 10:23:23 +0000
commit6ccb5c49cca52766f6d288d128db67be6392c579 (patch)
tree86420c3dd92f5d0fdafe3765f25e1bfa0d085299 /src/cmd/link/internal/ld/deadcode.go
parentd0d38f0f707e69965a5f5a637fa568c646899d39 (diff)
downloadgo-6ccb5c49cca52766f6d288d128db67be6392c579.tar.gz
go-6ccb5c49cca52766f6d288d128db67be6392c579.zip
cmd/link/internal/ld: fix typo in a comment
Change-Id: I9ae39aa2da2bfa6bb5d3f279bca764128d9cc401 GitHub-Last-Rev: 7a5945ae120b911793a1510f371945ac17611440 GitHub-Pull-Request: golang/go#44990 Reviewed-on: https://go-review.googlesource.com/c/go/+/301529 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Trust: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/cmd/link/internal/ld/deadcode.go')
-rw-r--r--src/cmd/link/internal/ld/deadcode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/ld/deadcode.go b/src/cmd/link/internal/ld/deadcode.go
index ea98fea4e5..a52652566b 100644
--- a/src/cmd/link/internal/ld/deadcode.go
+++ b/src/cmd/link/internal/ld/deadcode.go
@@ -118,7 +118,7 @@ func (d *deadcodePass) flood() {
if isgotype {
if d.dynlink {
- // When dynaamic linking, a type may be passed across DSO
+ // When dynamic linking, a type may be passed across DSO
// boundary and get converted to interface at the other side.
d.ldr.SetAttrUsedInIface(symIdx, true)
}