]> Cypherpunks repositories - gostls13.git/commit
runtime: round gohash stack frame to multiple of 8 on amd64p32
authorRuss Cox <rsc@golang.org>
Mon, 21 Jul 2014 21:38:30 +0000 (17:38 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 21 Jul 2014 21:38:30 +0000 (17:38 -0400)
commit34655223ef9b26e40cc22a0ab355a991ed177cf4
tree4ea3219d1afe27a8360c70f318bca11451759425
parent783bc895ae541e4b6c68ce6a38ddfdd8279e3990
runtime: round gohash stack frame to multiple of 8 on amd64p32

Even though pointers are 4 bytes the stack frame should be kept
a multiple of 8 bytes so that return addresses pushed on the stack
are properly aligned.

Fixes #8379.

LGTM=dvyukov, minux
R=minux, bradfitz, dvyukov, dave
CC=golang-codereviews
https://golang.org/cl/115840048
src/pkg/runtime/asm_amd64p32.s