For -buildmode=shared on linux/386, @mwhudson's current set of patches would borrow the CX register. This seems reasonable to me, but means that assembly that works under -buildmode=exe will not work under -buildmode=shared (see the discussion on http://golang.org/cl/16385).
Should we have a builder that runs the standard library tests compiled with -buildmode=shared? What about c-shared and c-archive?
cc @ianlancetaylor @bradfitz
For -buildmode=shared on linux/386, @mwhudson's current set of patches would borrow the CX register. This seems reasonable to me, but means that assembly that works under -buildmode=exe will not work under -buildmode=shared (see the discussion on http://golang.org/cl/16385).
Should we have a builder that runs the standard library tests compiled with -buildmode=shared? What about c-shared and c-archive?
cc @ianlancetaylor @bradfitz