]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link/internal/objfile: new 'Sym' type for global symbol index
authorThan McIntosh <thanm@google.com>
Wed, 9 Oct 2019 13:04:16 +0000 (09:04 -0400)
committerThan McIntosh <thanm@google.com>
Thu, 10 Oct 2019 19:21:40 +0000 (19:21 +0000)
commitf7659d49be1839314ddc3a8606f8d6b3ce211b6b
tree590834bf64a056cd0d6104bfb219a52c21623056
parentc455e8878f67eeeb02537cc7b3c5fc18a22a2ed7
[dev.link] cmd/link/internal/objfile: new 'Sym' type for global symbol index

First change of several to update the loader API to reflect the final
consensus version of the loader API as described in Cherry's doc.

This piece:

 - define new loader.Sym type to encapsulate a global symbol
   index (as opposed to just using 'int')

Change-Id: I6f6483e269f80abfc7d373b2856b2c0d61b9ac24
Reviewed-on: https://go-review.googlesource.com/c/go/+/200417
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/objfile/objfile2.go