1
0
mirror of https://github.com/golang/go synced 2024-11-26 11:48:03 -07:00
go/misc/cgo
Carl Shapiro 4cb921bbf1 runtime: store asmcgocall return PC where the ARM unwind expects it
The ARM implementation of runtime.cgocallback_gofunc diverged
from the calling convention by leaving a word of garbage at
the top of the stack and storing the return PC above the
locals.  This change stores the return PC at the top of the
stack and removes the save area above the locals.

Update #5124
This CL fixes first part of the ARM issues and added the unwind test.

R=golang-dev, bradfitz, minux.ma, cshapiro, rsc
CC=golang-dev
https://golang.org/cl/7728045
2013-03-25 14:10:28 -07:00
..
gmp
life
stdio
test runtime: store asmcgocall return PC where the ARM unwind expects it 2013-03-25 14:10:28 -07:00
testso