In the lazy binding routine, make sure we actually allocate the stack we need,
authormiod <miod@openbsd.org>
Mon, 1 Jun 2015 19:55:20 +0000 (19:55 +0000)
committermiod <miod@openbsd.org>
Mon, 1 Jun 2015 19:55:20 +0000 (19:55 +0000)
commit1f6e7696bf953b37f0fe038da6afbd4095159623
tree39dacdcf6cf64dd1d218741e0b5ed22402f32d6d
parent49539cb320914b3e4a2140903fb43c6f0b4410fe
In the lazy binding routine, make sure we actually allocate the stack we need,
instead of corrupting the caller's stack by mistake.

This fixes the mysterious segfaults in __powerpc_read_tcb() reported on
earlier G3 systems - more recent processors have been luckier...

ok deraadt@
libexec/ld.so/powerpc/ldasm.S