diff options
| author | Cherry Zhang <cherryyz@google.com> | 2020-10-13 18:28:25 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2020-10-13 23:38:08 +0000 |
| commit | c8eea1633e160d3517ea44e50898893dad09fed0 (patch) | |
| tree | cd5cf2a8764e26cb4df772215df10160a15a59d0 /src/cmd/internal/obj/link.go | |
| parent | e43ef8dda2d2baeca7f42a50cc92f527e6826b9f (diff) | |
| download | go-c8eea1633e160d3517ea44e50898893dad09fed0.tar.xz | |
cmd/internal/obj: remove LSym.RefIdx
LSym.RefIdx was for the old object files. I should have deleted
it when I deleted old object file code.
Change-Id: I8294f43a1e7ba45b1d75e84cc83cbaf2cb32f025
Reviewed-on: https://go-review.googlesource.com/c/go/+/262077
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Diffstat (limited to 'src/cmd/internal/obj/link.go')
| -rw-r--r-- | src/cmd/internal/obj/link.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/link.go b/src/cmd/internal/obj/link.go index 014c78dbfc..f14b691802 100644 --- a/src/cmd/internal/obj/link.go +++ b/src/cmd/internal/obj/link.go @@ -395,7 +395,6 @@ type LSym struct { Type objabi.SymKind Attribute - RefIdx int // Index of this symbol in the symbol reference list. Size int64 Gotype *LSym P []byte @@ -405,7 +404,7 @@ type LSym struct { Pkg string PkgIdx int32 - SymIdx int32 // TODO: replace RefIdx + SymIdx int32 } // A FuncInfo contains extra fields for STEXT symbols. |
