1
0
mirror of https://github.com/golang/go synced 2024-11-23 21:00:06 -07:00
go/misc
Michael Hudson-Doyle 533ed967c6 cmd/link: only include the version info and export data in ABI hash
Previously the "ABI hash" for a package (used to determine if a loaded shared
library has the ABI expected by its loader) was the hash of the entire
__.PKGDEF file. But that means it depends on the build ID generated by the go
tool for the package, which means that if a file is added (even a .c or .h
file!) to the package, the ABI changes, perhaps uncessarily.

Fixes #19920

Change-Id: If919481e1a03afb350c8a9c7a0666bb90ee90270
Reviewed-on: https://go-review.googlesource.com/40401
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-04-17 22:02:01 +00:00
..
android misc/android: make the exec wrapper exit code parsing more robust 2016-06-08 05:24:53 +00:00
arm
cgo cmd/link: only include the version info and export data in ABI hash 2017-04-17 22:02:01 +00:00
chrome/gophertool
git
ios misc/ios: fix the Test386EndToEnd test on iOS 2017-04-17 19:55:54 +00:00
linkcheck
nacl cmd/internal/obj: stop storing Text flags in From3 2017-04-12 21:53:39 +00:00
sortac
swig
trace misc/trace: disable trace resolution warning 2016-07-21 18:17:31 +00:00
benchcmp
editors