]> Cypherpunks repositories - gostls13.git/commit
runtime: fix netbsd/386 stack pointer handling
authorJoel Sing <jsing@google.com>
Fri, 17 Aug 2012 11:53:02 +0000 (21:53 +1000)
committerJoel Sing <jsing@google.com>
Fri, 17 Aug 2012 11:53:02 +0000 (21:53 +1000)
commit1b6557a0cf54a901db38b13b78f919b7959286ee
tree113e8e4eac86a71f60977c42140be49334d22e58
parent2a642c34e55bcafd57cca9c84c63cba3902c6a79
runtime: fix netbsd/386 stack pointer handling

When manipulating the stack pointer use the UESP register instead
of the ESP register, since the UESP register is the one that gets
restored from the machine context. Fixes broken tests on netbsd/386.

R=golang-dev, minux.ma, r, bsiegert
CC=golang-dev
https://golang.org/cl/6465054
src/pkg/runtime/signal_netbsd_386.c