]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.link] cmd/link: fix accidental shadowing
authorCherry Zhang <cherryyz@google.com>
Mon, 27 Apr 2020 22:47:03 +0000 (18:47 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 28 Apr 2020 14:06:52 +0000 (14:06 +0000)
ctxt.Tlsg2 is supposed to be the embedded ArchSyms.Tlsg2.

Change-Id: I4f9711f83999d4a98bcf6d99c24fab756c580905
Reviewed-on: https://go-review.googlesource.com/c/go/+/230379
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/link.go

index 839ee0ca7e31c17bcaf48cb00d9cec9d61d4067c..84b1f9121eaa6a173fb2dd323668696b173fead7 100644 (file)
@@ -66,7 +66,6 @@ type Link struct {
 
        compressDWARF bool
 
-       Tlsg2        loader.Sym
        Libdir       []string
        Library      []*sym.Library
        LibraryByPkg map[string]*sym.Library