Shenghou Ma 5b78cee376 runtime: fix stack pointer corruption in runtime.cgocallback_gofunc()
runtime.setmg() calls another function (cgo_save_gm), so it must save
LR onto stack.
Re-enabled TestCthread test in misc/cgo/test.

Fixes #4863.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9019043
2013-04-30 04:13:32 +08:00
..
2012-01-24 14:48:15 -05:00
2012-12-21 01:43:19 +11:00
2012-03-06 23:27:30 -05:00
2012-03-06 23:27:30 -05:00
2012-10-30 13:38:01 -07:00
2012-08-17 03:42:34 +08:00
2013-02-01 08:34:41 -08:00
2012-10-30 23:58:43 +08:00
2012-10-30 23:58:43 +08:00
2013-04-18 02:33:55 +08:00