[hppa] Fix incorrect stack frame usage in vfork.
authorCarlos O'Donell <carlos@systemhalted.org>
Thu, 24 Jun 2010 16:13:36 +0000 (12:13 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Thu, 24 Jun 2010 16:13:36 +0000 (12:13 -0400)
commit3680f14a7d12a9faa86e09aaea1b3aa20713355e
treed814d52924009bfab3d450a05d77e24ebff8451b
parent131fafa7dac6437fd6bb320bac49b0198825b192
[hppa] Fix incorrect stack frame usage in vfork.

In a multithreaded environment the call to vfork was
incorrectly creating a stack frame. Given that the
child unwinds the stack frame first to call exec, it
will corrupt any values the parent stored in the stack
frame. The solution is to avoid creating a stack frame
unless required to call an error function, in which case
we are assured no child was created.
ChangeLog.hppa
sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S