]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: restore export data hash
authorCherry Zhang <cherryyz@google.com>
Thu, 17 Oct 2019 05:17:42 +0000 (01:17 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 17 Oct 2019 20:28:28 +0000 (20:28 +0000)
commitbd229936cf3873c552ab087232030780dc432067
treecfae1e439a6b8bf68d32ee34c701f39e53df33e1
parent286d744246a84b3a19093db6e7f24a823aac50bb
[dev.link] cmd/link: restore export data hash

With the previous CL, the export data will not change whether it
is compiled with -dynlink flag or not. Restore the export data
hash, and reenable plugin version check.

TODO: it may be still better to just generate a fingerprint for
each package at compile time.

Change-Id: I1f298ac97c3ab9b8d05d1c95e8be74d10ca7cd0e
Reviewed-on: https://go-review.googlesource.com/c/go/+/201720
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
misc/cgo/testplugin/testdata/host/host.go
src/cmd/link/internal/ld/lib.go