]> Cypherpunks repositories - gostls13.git/commit
runtime: fix SP adjustment on amd64p32
authorAustin Clements <austin@google.com>
Fri, 28 Oct 2016 21:18:36 +0000 (17:18 -0400)
committerAustin Clements <austin@google.com>
Fri, 28 Oct 2016 21:39:17 +0000 (21:39 +0000)
commit1bd39e79dbc146ae953284f82febf7d1fb461f4e
treef12bb4dda5fe518d2a39d6bd5168150b041e1eb1
parentbd640c882a8dcb88a0497770f881bce48ab83102
runtime: fix SP adjustment on amd64p32

On amd64p32, rt0_go attempts to reserve 128 bytes of scratch space on
the stack, but due to a register mixup this ends up being a no-op. Fix
this so we actually reserve the stack space.

Change-Id: I04dbfbeb44f3109528c8ec74e1136bc00d7e1faa
Reviewed-on: https://go-review.googlesource.com/32331
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/asm_amd64p32.s