[hppa] Fix *context stack usage for varargs
commit131fafa7dac6437fd6bb320bac49b0198825b192
authorCarlos O'Donell <carlos@systemhalted.org>
Wed, 23 Jun 2010 21:03:11 +0000 (23 17:03 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Wed, 23 Jun 2010 21:03:11 +0000 (23 17:03 -0400)
tree02b554e049971524f419769d8f0b1023211e64a8
parentfdb3ec206ee7671c697544502de6a650186c8cd2
[hppa] Fix *context stack usage for varargs

The getcontext, and setcontext functions should
not adjust the stack, and should load the stack
pointer from the machine context. Calling makecontext
should create a frame for spilled incoming arguments,
and sync uc_stack.ss_sp to the machine context.
We do not support calling getcontext, modifying ss_sp,
and calling setcontext directly.
ChangeLog.hppa
sysdeps/unix/sysv/linux/hppa/getcontext.S
sysdeps/unix/sysv/linux/hppa/makecontext.c
sysdeps/unix/sysv/linux/hppa/setcontext.S