PR go/61498
commit56fc16a1120d09971adb2fb2159cdf3d3871524e
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jun 2014 13:50:13 +0000 (13 13:50 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jun 2014 13:50:13 +0000 (13 13:50 +0000)
tree00437b121f34212f4321eee7b66a49399fe12d37
parent9d05e48d26abcee8fafaf3c71b9f305b38777bfb
PR go/61498
runtime: Always set gcnext_sp to pointer-aligned address.

The gcnext_sp field is only used on systems that do not use
split stacks.  It marks the bottom of the stack for the
garbage collector.  This change makes sure that the stack
bottom is always aligned to a pointer value.

Previously the garbage collector would align all the addresses
that it scanned, but it now expects them to be aligned before
scanning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211639 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/runtime/proc.c