]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: use pclntabState and eliminate globals
authorJeremy Faller <jeremy@golang.org>
Tue, 14 Jul 2020 17:12:58 +0000 (13:12 -0400)
committerJeremy Faller <jeremy@golang.org>
Fri, 31 Jul 2020 13:54:51 +0000 (13:54 +0000)
commit3067a8dc02f62c287a8ccd3fcf16bfdf4f687f5f
tree2f9ba4a252d0fc31af008c03105ce22bfb81960a
parent365059e1d13c30c26ef0725becea2329f47cc16f
[dev.link] cmd/link: use pclntabState and eliminate globals

Non functional change.

As runtime.pclntab breaks up, it'll be easier if we can just pass around
the pclntab state. Also, eliminate the globals in pclntab.

Change-Id: I2a5849e8f5f422a336a881e53a261e3997d11c44
Reviewed-on: https://go-review.googlesource.com/c/go/+/242599
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/main.go
src/cmd/link/internal/ld/pcln.go
src/cmd/link/internal/ld/symtab.go