]> Cypherpunks repositories - gostls13.git/commit
runtime: handle volatility of CX when dynamically linking on linux/386
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 27 Oct 2015 23:10:28 +0000 (12:10 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Wed, 18 Nov 2015 01:36:44 +0000 (01:36 +0000)
commit6056cc5df602938a97e8d70176fa90e2b09f3020
tree941effc182dec5591d2acf3cee81b9118203d830
parentc8abb02178315303ee20f4d32fea91f50a4ac74c
runtime: handle volatility of CX when dynamically linking on linux/386

Mostly by avoiding CX entirely, sometimes by reloading it.

I also vetted the assembly in other packages, it's all fine.

Change-Id: I50059669aaaa04efa303cf22ac228f9d14d83db0
Reviewed-on: https://go-review.googlesource.com/16386
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/asm_386.s
src/runtime/sys_linux_386.s